Expand description
Error envelope + code set (spec §10). Serialized as the MCP tool result body
{ error: { code, message, suggested_action, details? } } with isError:true
(the isError flagging is applied by the MCP layer in M1).
Structs§
- Error
Envelope - The full envelope serialized to the MCP tool result:
{ error: { … } }. - Error
Payload - The error payload (spec §10):
{ code, message, suggested_action, details? }.
Enums§
- Error
Code - v1 error codes (spec §10, plus DEPRECATED_TOOL from §7). SCREAMING_SNAKE_CASE on the wire. SCRIPT_DISABLED / JOB_NOT_FOUND are v1.1 and intentionally absent.