请求 JSON 预览
本地校验通过后才允许提交给 API
{
"state": {
"draft": "Schedule a 30 minute review with Mei next Tues",
"submitted": false,
"required_fields": [
"attendee",
"date",
"time",
"timezone",
"duration"
],
"known_fields": {
"attendee": "Mei",
"duration": 30
}
},
"questions": {
"interaction_state": {
"type": "choice",
"instructions": "What interaction state is safe for this partially entered command?",
"criteria": {
"wait_for_input": "Wait for more input",
"show_preview": "Show a non-executing preview",
"execute_tool": "All execution conditions are met"
}
},
"argument_completeness": {
"type": "score",
"instructions": "How complete are the required tool arguments?",
"criteria": [
"Missing most fields",
"Partially complete",
"Almost complete",
"Complete"
]
},
"needs_confirmation": {
"type": "noul",
"instructions": "Does this tool call still require explicit user confirmation?"
}
}
}