Skip to main content

Variable: DEFAULT_TOOL_REJECTION_TEXT

const DEFAULT_TOOL_REJECTION_TEXT: "The user declined this tool call. It was not executed and nothing happened. Do not call it again unless the user asks; tell the user it was not done and ask how to proceed." = "The user declined this tool call. It was not executed and nothing happened. Do not call it again unless the user asks; tell the user it was not done and ask how to proceed."

Defined in: contracts/types.ts:205

Sent to the model as a tool's output when the human rejects the call and the tool's policy gave no rejectionText for it (D87); the human's reason is appended.