Declarative conformance scenarios for aicc/0.1 covering: handshake, manifest_request, tool call ok/unknown/execution-failed, protocol mismatch, heartbeat, session close, event delivery. Plus runner documentation (conformance/README.md).
28 lines
642 B
JSON
28 lines
642 B
JSON
{
|
|
"id": "core-05-tool-execution-failed",
|
|
"title": "Tool that raises returns execution_failed",
|
|
"category": "core",
|
|
"version": "aicc/0.1",
|
|
"description": "A tool implementation that throws must be caught by the bridge and surfaced as error code execution_failed, not crash the session.",
|
|
"steps": [
|
|
{
|
|
"send": {
|
|
"type": "tool_call",
|
|
"tool": "boom",
|
|
"input": {}
|
|
}
|
|
},
|
|
{
|
|
"expect": {
|
|
"type": "tool_result",
|
|
"ok": false,
|
|
"call_id_echo": true,
|
|
"error": {
|
|
"code": "execution_failed",
|
|
"retryable": false
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|