Skip to main content

ANSWER_TOOL

Constant ANSWER_TOOL 

Source
pub const ANSWER_TOOL: &str = "salvor_answer";
Expand description

The name of the synthetic tool a structured-output loop answers through.

An agent that offers a real tool under this name cannot run under a declared output schema: the two calls would be indistinguishable in the response, so drive_loop_structured refuses with RuntimeError::AnswerToolNameTaken before any model call.