44 行
738 B
JSON
44 行
738 B
JSON
{
|
|
"$defs": {
|
|
"ToolResultStatus": {
|
|
"enum": [
|
|
"rejected",
|
|
"completed",
|
|
"failed",
|
|
"cancelled"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"actionId": {
|
|
"type": "string"
|
|
},
|
|
"completedAt": {
|
|
"type": "string"
|
|
},
|
|
"errorCode": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"result": true,
|
|
"status": {
|
|
"$ref": "#/$defs/ToolResultStatus"
|
|
},
|
|
"summary": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"actionId",
|
|
"status",
|
|
"summary",
|
|
"completedAt"
|
|
],
|
|
"title": "ToolResult",
|
|
"type": "object"
|
|
}
|