Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5x1ufsjyvu9RJFUUb
13 lines
568 B
Plaintext
13 lines
568 B
Plaintext
# What the model receives when a call is denied
|
|
|
|
DEFAULT_DENY_MESSAGE: The user did not allow this tool call.
|
|
|
|
history the model is sent next:
|
|
UserMessage[Rebook me on VX205]
|
|
AssistantMessage[toolCalls=call_1:bookFlight{"flightNumber":"VX205"}, call_2:cancelBooking{"reference":"BK-9"}]
|
|
ToolResponseMessage[call_1:bookFlight -> The user did not allow this tool call.][call_2:cancelBooking -> The user wants an aisle seat, ask again.]
|
|
|
|
ledger (nothing ran): []
|
|
returnDirect(): false
|
|
model's next answer: Understood, I will ask which seat you prefer.
|