{ "$id": "https://github.com/api-evangelist/arcade/json-structure/arcade-engine-execute-tool-response-structure.json", "name": "arcade-engine-execute-tool-response", "title": "Arcade Engine ExecuteToolResponse Structure", "description": "Structural projection of the ExecuteToolResponse resource of the Arcade Engine API.", "type": "object", "properties": { "duration": { "type": "number" }, "execution_id": { "type": "string" }, "execution_type": { "type": "string" }, "finished_at": { "type": "string" }, "id": { "type": "string" }, "output": { "type": "object", "properties": { "authorization": { "type": "object", "properties": { "context": { "$ref": "#/components/schemas/auth.AuthorizationContext" }, "id": { "type": "string" }, "provider_id": { "type": "string" }, "scopes": { "type": "array", "items": { "type": "string" } }, "status": { "default": "pending", "allOf": [ { "$ref": "#/components/schemas/auth.AuthorizationStatus" } ] }, "url": { "type": "string" }, "user_id": { "type": "string" } } }, "error": { "type": "object", "required": [ "can_retry", "kind", "message" ], "properties": { "additional_prompt_content": { "type": "string" }, "can_retry": { "type": "boolean" }, "developer_message": { "type": "string" }, "extra": { "type": "object", "additionalProperties": {} }, "kind": { "$ref": "#/components/schemas/tool.ErrorKind" }, "message": { "type": "string" }, "retry_after_ms": { "type": "integer" }, "stacktrace": { "type": "string" }, "status_code": { "type": "integer" } } }, "logs": { "type": "array", "items": { "type": "object", "required": [ "level", "message" ], "properties": { "level": { "type": "string" }, "message": { "type": "string" }, "subtype": { "type": "string" } } } }, "value": {} } }, "run_at": { "type": "string" }, "status": { "type": "string" }, "success": { "description": "Whether the request was successful.\nFor immediately-executed requests, this will be true if the tool call succeeded.\nFor scheduled requests, this will be true if the request was scheduled successfully.", "type": "boolean" } }, "required": [] }