Arcade · Schema

Arcade Engine ExecuteToolResponse

JSON Schema for the Arcade Engine ExecuteToolResponse resource, extracted from the public Arcade OpenAPI 3.0 spec at https://api.arcade.dev/v1/swagger.

AgentsMCPAI AgentsAuthorizationOAuthTool CallingAgent InfrastructureLLMIntegrations

Properties

Name Type Description
duration number
execution_id string
execution_type string
finished_at string
id string
output object
run_at string
status string
success boolean Whether the request was successful. For immediately-executed requests, this will be true if the tool call succeeded. For scheduled requests, this will be true if the request was scheduled successfully
View JSON Schema on GitHub

JSON Schema

arcade-engine-execute-tool-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/arcade/json-schema/arcade-engine-execute-tool-response-schema.json",
  "title": "Arcade Engine ExecuteToolResponse",
  "description": "JSON Schema for the Arcade Engine ExecuteToolResponse resource, extracted from the public Arcade OpenAPI 3.0 spec at https://api.arcade.dev/v1/swagger.",
  "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"
    }
  }
}