{
  "service": "griptape",
  "displayName": "Griptape",
  "categories": [
    "AI"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "GRIPTAPE_API_KEY",
      "description": "Griptape Cloud API key used as a Bearer token in the Authorization header. Create or view keys in Griptape Cloud: https://cloud.griptape.ai/configuration/api-keys."
    }
  ],
  "homepageUrl": "https://www.griptape.ai",
  "actions": [
    {
      "id": "griptape.cancel_assistant_run",
      "service": "griptape",
      "name": "cancel_assistant_run",
      "description": "Cancel a Griptape Cloud assistant run.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "assistant_run_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Griptape Cloud assistant run ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for cancelling a Griptape Cloud assistant run."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "assistant_run": {
            "type": "object",
            "properties": {
              "assistant_run_id": {
                "type": "string",
                "minLength": 1,
                "description": "The Griptape Cloud assistant run ID."
              },
              "assistant_id": {
                "type": "string",
                "minLength": 1,
                "description": "The assistant ID associated with this run."
              },
              "args": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "One assistant run argument."
                },
                "description": "Arguments passed to the assistant run."
              },
              "input": {
                "type": "string",
                "description": "Input text passed to the assistant run."
              },
              "output": {
                "description": "A raw Griptape Cloud JSON value."
              },
              "model": {
                "type": "string",
                "description": "The model used for the assistant run."
              },
              "status": {
                "type": "string",
                "enum": [
                  "QUEUED",
                  "STARTING",
                  "RUNNING",
                  "SUCCEEDED",
                  "FAILED",
                  "ERROR",
                  "CANCELLED"
                ],
                "description": "The assistant run status."
              },
              "status_detail": {
                "description": "A raw Griptape Cloud JSON value."
              },
              "stream": {
                "type": "boolean",
                "description": "Whether the assistant run was requested as a streaming run."
              },
              "thread_id": {
                "type": "string",
                "description": "The thread ID associated with the assistant run."
              },
              "knowledge_base_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Knowledge base IDs used by the assistant run."
              },
              "retriever_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Retriever IDs used by the assistant run."
              },
              "ruleset_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Ruleset IDs used by the assistant run."
              },
              "structure_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Structure IDs used by the assistant run."
              },
              "tool_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Tool IDs used by the assistant run."
              },
              "completed_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The assistant run completion timestamp.",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "description": "The assistant run creation timestamp.",
                "format": "date-time"
              },
              "created_by": {
                "type": "string",
                "description": "The user that created the assistant run."
              },
              "updated_at": {
                "type": "string",
                "description": "The assistant run update timestamp.",
                "format": "date-time"
              }
            },
            "additionalProperties": true,
            "description": "A Griptape Cloud assistant run."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when cancelling a Griptape Cloud assistant run."
      }
    },
    {
      "id": "griptape.create_assistant",
      "service": "griptape",
      "name": "create_assistant",
      "description": "Create a Griptape Cloud assistant.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "The assistant name."
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "The assistant description."
          },
          "input": {
            "type": "string",
            "description": "Default input instructions for the assistant."
          },
          "model": {
            "type": "string",
            "description": "The model to use for the assistant."
          },
          "knowledge_base_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Knowledge base IDs to attach to the assistant."
          },
          "retriever_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Retriever IDs to attach to the assistant."
          },
          "ruleset_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Ruleset IDs to attach to the assistant."
          },
          "structure_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Structure IDs to attach to the assistant."
          },
          "tool_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Tool IDs to attach to the assistant."
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "description": "The input payload for creating a Griptape Cloud assistant."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "assistant": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Griptape Cloud assistant."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when creating a Griptape Cloud assistant."
      }
    },
    {
      "id": "griptape.create_assistant_run",
      "service": "griptape",
      "name": "create_assistant_run",
      "description": "Create a run for a Griptape Cloud assistant.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "assistant_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Griptape Cloud assistant ID."
          },
          "input": {
            "type": "string",
            "description": "Input text for the assistant run."
          },
          "args": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "One assistant run argument."
            },
            "description": "Arguments for the assistant run."
          },
          "model": {
            "type": "string",
            "description": "The model to use for this run."
          },
          "new_thread": {
            "type": "boolean",
            "description": "Whether Griptape Cloud should create a new thread for this run."
          },
          "thread_id": {
            "type": "string",
            "minLength": 1,
            "description": "The existing thread ID to associate with this run."
          },
          "knowledge_base_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Knowledge base IDs to use for this run."
          },
          "additional_knowledge_base_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Additional knowledge base IDs for this run."
          },
          "retriever_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Retriever IDs to use for this run."
          },
          "additional_retriever_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Additional retriever IDs for this run."
          },
          "ruleset_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Ruleset IDs to use for this run."
          },
          "additional_ruleset_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Additional ruleset IDs for this run."
          },
          "structure_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Structure IDs to use for this run."
          },
          "additional_structure_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Additional structure IDs for this run."
          },
          "tool_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Tool IDs to use for this run."
          },
          "additional_tool_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Additional tool IDs for this run."
          }
        },
        "additionalProperties": false,
        "required": [
          "assistant_id"
        ],
        "description": "The input payload for creating a Griptape Cloud assistant run."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "assistant_run": {
            "type": "object",
            "properties": {
              "assistant_run_id": {
                "type": "string",
                "minLength": 1,
                "description": "The Griptape Cloud assistant run ID."
              },
              "assistant_id": {
                "type": "string",
                "minLength": 1,
                "description": "The assistant ID associated with this run."
              },
              "args": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "One assistant run argument."
                },
                "description": "Arguments passed to the assistant run."
              },
              "input": {
                "type": "string",
                "description": "Input text passed to the assistant run."
              },
              "output": {
                "description": "A raw Griptape Cloud JSON value."
              },
              "model": {
                "type": "string",
                "description": "The model used for the assistant run."
              },
              "status": {
                "type": "string",
                "enum": [
                  "QUEUED",
                  "STARTING",
                  "RUNNING",
                  "SUCCEEDED",
                  "FAILED",
                  "ERROR",
                  "CANCELLED"
                ],
                "description": "The assistant run status."
              },
              "status_detail": {
                "description": "A raw Griptape Cloud JSON value."
              },
              "stream": {
                "type": "boolean",
                "description": "Whether the assistant run was requested as a streaming run."
              },
              "thread_id": {
                "type": "string",
                "description": "The thread ID associated with the assistant run."
              },
              "knowledge_base_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Knowledge base IDs used by the assistant run."
              },
              "retriever_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Retriever IDs used by the assistant run."
              },
              "ruleset_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Ruleset IDs used by the assistant run."
              },
              "structure_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Structure IDs used by the assistant run."
              },
              "tool_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Tool IDs used by the assistant run."
              },
              "completed_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The assistant run completion timestamp.",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "description": "The assistant run creation timestamp.",
                "format": "date-time"
              },
              "created_by": {
                "type": "string",
                "description": "The user that created the assistant run."
              },
              "updated_at": {
                "type": "string",
                "description": "The assistant run update timestamp.",
                "format": "date-time"
              }
            },
            "additionalProperties": true,
            "description": "A Griptape Cloud assistant run."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when creating a Griptape Cloud assistant run."
      }
    },
    {
      "id": "griptape.delete_assistant",
      "service": "griptape",
      "name": "delete_assistant",
      "description": "Delete a Griptape Cloud assistant.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "assistant_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Griptape Cloud assistant ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for deleting a Griptape Cloud assistant."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deleted": {
            "type": "boolean",
            "description": "Whether the assistant was deleted."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when deleting a Griptape Cloud assistant."
      }
    },
    {
      "id": "griptape.get_assistant",
      "service": "griptape",
      "name": "get_assistant",
      "description": "Retrieve one Griptape Cloud assistant by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "assistant_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Griptape Cloud assistant ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for retrieving a Griptape Cloud assistant."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "assistant": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Griptape Cloud assistant."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when retrieving a Griptape Cloud assistant."
      }
    },
    {
      "id": "griptape.get_assistant_run",
      "service": "griptape",
      "name": "get_assistant_run",
      "description": "Retrieve one Griptape Cloud assistant run by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "assistant_run_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Griptape Cloud assistant run ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for retrieving a Griptape Cloud assistant run."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "assistant_run": {
            "type": "object",
            "properties": {
              "assistant_run_id": {
                "type": "string",
                "minLength": 1,
                "description": "The Griptape Cloud assistant run ID."
              },
              "assistant_id": {
                "type": "string",
                "minLength": 1,
                "description": "The assistant ID associated with this run."
              },
              "args": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "One assistant run argument."
                },
                "description": "Arguments passed to the assistant run."
              },
              "input": {
                "type": "string",
                "description": "Input text passed to the assistant run."
              },
              "output": {
                "description": "A raw Griptape Cloud JSON value."
              },
              "model": {
                "type": "string",
                "description": "The model used for the assistant run."
              },
              "status": {
                "type": "string",
                "enum": [
                  "QUEUED",
                  "STARTING",
                  "RUNNING",
                  "SUCCEEDED",
                  "FAILED",
                  "ERROR",
                  "CANCELLED"
                ],
                "description": "The assistant run status."
              },
              "status_detail": {
                "description": "A raw Griptape Cloud JSON value."
              },
              "stream": {
                "type": "boolean",
                "description": "Whether the assistant run was requested as a streaming run."
              },
              "thread_id": {
                "type": "string",
                "description": "The thread ID associated with the assistant run."
              },
              "knowledge_base_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Knowledge base IDs used by the assistant run."
              },
              "retriever_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Retriever IDs used by the assistant run."
              },
              "ruleset_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Ruleset IDs used by the assistant run."
              },
              "structure_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Structure IDs used by the assistant run."
              },
              "tool_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "description": "One Griptape Cloud resource ID."
                },
                "description": "Tool IDs used by the assistant run."
              },
              "completed_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The assistant run completion timestamp.",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "description": "The assistant run creation timestamp.",
                "format": "date-time"
              },
              "created_by": {
                "type": "string",
                "description": "The user that created the assistant run."
              },
              "updated_at": {
                "type": "string",
                "description": "The assistant run update timestamp.",
                "format": "date-time"
              }
            },
            "additionalProperties": true,
            "description": "A Griptape Cloud assistant run."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when retrieving a Griptape Cloud assistant run."
      }
    },
    {
      "id": "griptape.get_organization",
      "service": "griptape",
      "name": "get_organization",
      "description": "Retrieve one Griptape Cloud organization by ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "organization_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Griptape Cloud organization ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for retrieving a Griptape Cloud organization."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Griptape Cloud organization."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when retrieving a Griptape Cloud organization."
      }
    },
    {
      "id": "griptape.list_assistant_events",
      "service": "griptape",
      "name": "list_assistant_events",
      "description": "List non-streaming events for a Griptape Cloud assistant run.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "assistant_run_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Griptape Cloud assistant run ID."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of events to return."
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "description": "The event offset to start from."
          }
        },
        "additionalProperties": false,
        "required": [
          "assistant_run_id"
        ],
        "description": "The input payload for listing Griptape Cloud assistant run events."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "events": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "event_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The Griptape Cloud event ID."
                },
                "assistant_run_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The assistant run ID associated with this event."
                },
                "type": {
                  "type": "string",
                  "description": "The event type."
                },
                "origin": {
                  "type": "string",
                  "description": "The event origin."
                },
                "payload": {
                  "description": "A raw Griptape Cloud JSON value."
                },
                "timestamp": {
                  "type": "number",
                  "description": "The event timestamp."
                },
                "created_at": {
                  "type": "string",
                  "description": "The event creation timestamp.",
                  "format": "date-time"
                }
              },
              "additionalProperties": true,
              "description": "A Griptape Cloud assistant event."
            },
            "description": "Griptape Cloud assistant events."
          },
          "count": {
            "type": "number",
            "description": "The number of events returned."
          },
          "limit": {
            "type": "number",
            "description": "The requested event limit."
          },
          "offset": {
            "type": "number",
            "description": "The requested event offset."
          },
          "next_offset": {
            "type": "number",
            "description": "The next event offset, if available."
          },
          "total_count": {
            "type": "number",
            "description": "The total number of events."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "required": [
          "events",
          "count",
          "limit",
          "offset",
          "total_count",
          "raw"
        ],
        "description": "The response returned when listing Griptape Cloud assistant events."
      }
    },
    {
      "id": "griptape.list_assistant_runs",
      "service": "griptape",
      "name": "list_assistant_runs",
      "description": "List runs for a Griptape Cloud assistant.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "assistant_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Griptape Cloud assistant ID."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The page number to request."
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request per page."
          },
          "status": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "QUEUED",
                "STARTING",
                "RUNNING",
                "SUCCEEDED",
                "FAILED",
                "ERROR",
                "CANCELLED"
              ],
              "description": "The assistant run status."
            },
            "description": "Assistant run statuses to filter by.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "assistant_id"
        ],
        "description": "The input payload for listing Griptape Cloud assistant runs."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "assistant_runs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "assistant_run_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The Griptape Cloud assistant run ID."
                },
                "assistant_id": {
                  "type": "string",
                  "minLength": 1,
                  "description": "The assistant ID associated with this run."
                },
                "args": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "description": "One assistant run argument."
                  },
                  "description": "Arguments passed to the assistant run."
                },
                "input": {
                  "type": "string",
                  "description": "Input text passed to the assistant run."
                },
                "output": {
                  "description": "A raw Griptape Cloud JSON value."
                },
                "model": {
                  "type": "string",
                  "description": "The model used for the assistant run."
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "QUEUED",
                    "STARTING",
                    "RUNNING",
                    "SUCCEEDED",
                    "FAILED",
                    "ERROR",
                    "CANCELLED"
                  ],
                  "description": "The assistant run status."
                },
                "status_detail": {
                  "description": "A raw Griptape Cloud JSON value."
                },
                "stream": {
                  "type": "boolean",
                  "description": "Whether the assistant run was requested as a streaming run."
                },
                "thread_id": {
                  "type": "string",
                  "description": "The thread ID associated with the assistant run."
                },
                "knowledge_base_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Griptape Cloud resource ID."
                  },
                  "description": "Knowledge base IDs used by the assistant run."
                },
                "retriever_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Griptape Cloud resource ID."
                  },
                  "description": "Retriever IDs used by the assistant run."
                },
                "ruleset_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Griptape Cloud resource ID."
                  },
                  "description": "Ruleset IDs used by the assistant run."
                },
                "structure_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Griptape Cloud resource ID."
                  },
                  "description": "Structure IDs used by the assistant run."
                },
                "tool_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "description": "One Griptape Cloud resource ID."
                  },
                  "description": "Tool IDs used by the assistant run."
                },
                "completed_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The assistant run completion timestamp.",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "type": "string",
                  "description": "The assistant run creation timestamp.",
                  "format": "date-time"
                },
                "created_by": {
                  "type": "string",
                  "description": "The user that created the assistant run."
                },
                "updated_at": {
                  "type": "string",
                  "description": "The assistant run update timestamp.",
                  "format": "date-time"
                }
              },
              "additionalProperties": true,
              "description": "A Griptape Cloud assistant run."
            },
            "description": "Griptape Cloud assistant runs."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "page_number": {
                "type": "number",
                "description": "The current page number."
              },
              "page_size": {
                "type": "number",
                "description": "The number of records per page."
              },
              "total_count": {
                "type": "number",
                "description": "The total number of records."
              },
              "total_pages": {
                "type": "number",
                "description": "The total number of pages."
              },
              "next_page": {
                "type": "number",
                "description": "The next page number, if one exists."
              },
              "previous_page": {
                "type": "number",
                "description": "The previous page number, if one exists."
              }
            },
            "additionalProperties": true,
            "description": "Pagination metadata returned by Griptape Cloud."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when listing Griptape Cloud assistant runs."
      }
    },
    {
      "id": "griptape.list_assistants",
      "service": "griptape",
      "name": "list_assistants",
      "description": "List Griptape Cloud assistants with optional pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The page number to request."
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of records to request per page."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for listing Griptape Cloud assistants."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "assistants": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Griptape Cloud assistant."
            },
            "description": "Griptape Cloud assistants."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "page_number": {
                "type": "number",
                "description": "The current page number."
              },
              "page_size": {
                "type": "number",
                "description": "The number of records per page."
              },
              "total_count": {
                "type": "number",
                "description": "The total number of records."
              },
              "total_pages": {
                "type": "number",
                "description": "The total number of pages."
              },
              "next_page": {
                "type": "number",
                "description": "The next page number, if one exists."
              },
              "previous_page": {
                "type": "number",
                "description": "The previous page number, if one exists."
              }
            },
            "additionalProperties": true,
            "description": "Pagination metadata returned by Griptape Cloud."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when listing Griptape Cloud assistants."
      }
    },
    {
      "id": "griptape.list_organizations",
      "service": "griptape",
      "name": "list_organizations",
      "description": "List Griptape Cloud organizations accessible to the API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for listing Griptape Cloud organizations."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "organizations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A Griptape Cloud organization."
            },
            "description": "Accessible Griptape Cloud organizations."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when listing Griptape Cloud organizations."
      }
    },
    {
      "id": "griptape.update_assistant",
      "service": "griptape",
      "name": "update_assistant",
      "description": "Update a Griptape Cloud assistant.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "assistant_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Griptape Cloud assistant ID."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "The assistant name."
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "The assistant description."
          },
          "input": {
            "type": "string",
            "description": "Default input instructions for the assistant."
          },
          "model": {
            "type": "string",
            "description": "The model to use for the assistant."
          },
          "knowledge_base_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Knowledge base IDs to attach to the assistant."
          },
          "retriever_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Retriever IDs to attach to the assistant."
          },
          "ruleset_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Ruleset IDs to attach to the assistant."
          },
          "structure_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Structure IDs to attach to the assistant."
          },
          "tool_ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Griptape Cloud resource ID."
            },
            "description": "Tool IDs to attach to the assistant."
          }
        },
        "additionalProperties": false,
        "required": [
          "assistant_id"
        ],
        "description": "The input payload for updating a Griptape Cloud assistant."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "assistant": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A Griptape Cloud assistant."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A raw Griptape Cloud object."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when updating a Griptape Cloud assistant."
      }
    }
  ]
}
