Agentic Workers MCP

MCP Documentation Route

This route documents the complete MCP functionality currently available in Agentic Workers. It is built for developers and AI agents that need a stable, machine-readable contract for discovery, tool execution, and MCP server onboarding.

Quickstart

  1. 1. Generate an org token from the Operator CLI settings page and use it as a bearer token.
  2. 2. Point your external MCP client at https://www.agenticworkers.com/api/agw-mcp.
  3. 3. Use JSON-RPC initialize, tools/list, and tools/call over the existing HTTP endpoint.
  4. 4. Before attaching a third-party MCP server to an agent, validate it via /api/mcp-servers.
  5. 5. Attach the server to the target agent using agw_add_mcp_server.

HTTP Contract

MethodPathPurposeResponse
GET/api/agw-mcpDiscover all Agentic Workers MCP tools{ tools: McpToolDefinition[] }
POST/api/agw-mcpMCP JSON-RPC over HTTP: initialize, tools/list, tools/callJSON-RPC 2.0 response
POST/api/mcp-serversValidate a third-party MCP server before attaching it to an agent{ label, url, tools, validated: true } | { error, details }

Authentication: external clients should send Authorization: Bearer <agw_op_live_token>. Logged-in browser clients can continue to use their Agentic Workers session cookie.

Working Examples

Discover Tools

curl -sS https://www.agenticworkers.com/api/agw-mcp \
  -H "Cookie: next-auth.session-token=<session-cookie>"

Initialize MCP

curl -sS https://www.agenticworkers.com/api/agw-mcp \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <agw_op_live_token>" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize",
    "params": {
      "protocolVersion": "2024-11-05",
      "capabilities": {},
      "clientInfo": { "name": "example-client", "version": "1.0.0" }
    }
  }'

List Tools Via JSON-RPC

curl -sS https://www.agenticworkers.com/api/agw-mcp \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <agw_op_live_token>" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/list"
  }'

Call A Tool

curl -sS https://www.agenticworkers.com/api/agw-mcp \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <agw_op_live_token>" \
  -d '{
    "jsonrpc": "2.0",
    "id": 3,
    "method": "tools/call",
    "params": {
      "name": "agw_create_agent",
      "arguments": {
        "name": "Content Ops Worker",
        "instructions": "Create weekly content plans from analytics data",
        "description": "Automates planning and drafting",
        "model": "auto",
        "tools": ["groq_web_search"]
      }
    }
  }'

Validate Third-Party MCP Server

curl -sS https://www.agenticworkers.com/api/mcp-servers \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Cookie: next-auth.session-token=<session-cookie>" \
  -d '{
    "label": "My MCP Server",
    "url": "https://example-mcp-server.com"
  }'

Add MCP Server To Agent

curl -sS https://www.agenticworkers.com/api/agw-mcp \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <agw_op_live_token>" \
  -d '{
    "jsonrpc": "2.0",
    "id": 4,
    "method": "tools/call",
    "params": {
      "name": "agw_add_mcp_server",
      "arguments": {
        "agentId": "<agent-id>",
        "label": "My MCP Server",
        "url": "https://example-mcp-server.com",
        "allowedTools": []
      }
    }
  }'

Complete Tool Catalog

The catalog below is generated from the same source used by /api/agw-mcp tool discovery, so docs and runtime stay aligned.

Agent Lifecycle

Create, update, remove, and coordinate agents.

agw_list_agentsList platform agents. Compatibility alias for agw_agents_list.
{}
agw_create_agentCreate a platform agent. Compatibility alias for agw_agents_create.
{
  "name": {
    "type": "string",
    "minLength": 1,
    "maxLength": 120
  },
  "humanName": {
    "type": "string",
    "maxLength": 120
  },
  "instructions": {
    "type": "string",
    "minLength": 1,
    "maxLength": 100000
  },
  "description": {
    "type": "string",
    "maxLength": 4000
  },
  "model": {
    "type": "string",
    "maxLength": 160
  },
  "tools": {
    "type": "array",
    "items": {
      "type": "string",
      "maxLength": 160
    },
    "maxItems": 100
  },
  "category": {
    "type": "string",
    "maxLength": 100
  },
  "tags": {
    "type": "array",
    "items": {
      "type": "string",
      "maxLength": 100
    },
    "maxItems": 50
  }
}
agw_update_agentUpdate a platform agent. Compatibility alias for agw_agents_update.
{
  "agentId": {
    "type": "string"
  },
  "updates": {
    "type": "object",
    "additionalProperties": true
  }
}
agw_delete_agentArchive a platform agent. Compatibility alias for agw_agents_delete.
{
  "agentId": {
    "type": "string"
  }
}
agw_add_teammateAdd a same-organization teammate agent. Compatibility alias for agw_agents_add_teammate.
{
  "agentId": {
    "type": "string"
  },
  "teammateAgentId": {
    "type": "string"
  }
}

Memory

List, add, and remove long-term agent memories.

agw_list_memoriesList agent memories. Compatibility alias for agw_memories_list.
{
  "agentId": {
    "type": "string"
  }
}
agw_add_memoryCreate an agent memory. Compatibility alias for agw_memories_create.
{
  "agentId": {
    "type": "string"
  },
  "text": {
    "type": "string"
  }
}
agw_remove_memoryDelete an agent memory. Compatibility alias for agw_memories_delete.
{
  "agentId": {
    "type": "string"
  },
  "memoryId": {
    "type": "string"
  }
}

Automations

Automate recurring runs with cron expressions.

agw_list_scheduled_jobsList platform scheduled jobs. Compatibility alias for agw_jobs_list.
{}
agw_create_scheduled_jobCreate a platform scheduled job. Compatibility alias for agw_jobs_create.
{
  "name": {
    "type": "string",
    "minLength": 1,
    "maxLength": 160
  },
  "triggerType": {
    "type": "string",
    "enum": [
      "cron",
      "composio_trigger"
    ]
  },
  "cronExpression": {
    "type": "string",
    "maxLength": 120
  },
  "composioTriggerSlug": {
    "type": "string",
    "maxLength": 200
  },
  "composioTriggerConfig": {
    "type": "object",
    "properties": {},
    "required": [],
    "additionalProperties": true
  },
  "promptTemplateId": {
    "type": "string",
    "minLength": 1,
    "maxLength": 200,
    "pattern": "^[^/\\s]+$"
  },
  "agentId": {
    "type": "string",
    "minLength": 1,
    "maxLength": 200,
    "pattern": "^[^/\\s]+$"
  },
  "variables": {
    "type": "object",
    "properties": {},
    "required": [],
    "additionalProperties": {
      "type": "string",
      "maxLength": 20000
    }
  },
  "timezone": {
    "type": "string",
    "maxLength": 100
  },
  "active": {
    "type": "boolean"
  },
  "description": {
    "type": "string",
    "maxLength": 4000
  },
  "dryRun": {
    "type": "boolean"
  }
}
agw_update_scheduled_jobUpdate a platform scheduled job. Compatibility alias for agw_jobs_update.
{
  "jobId": {
    "type": "string"
  },
  "updates": {
    "type": "object",
    "additionalProperties": true
  }
}
agw_delete_scheduled_jobDelete a platform scheduled job. Compatibility alias for agw_jobs_delete.
{
  "jobId": {
    "type": "string"
  }
}

Integrations And Tools

Discover integrations, connect them, and attach tools/MCP servers to agents.

agw_list_available_toolsList available tools. Compatibility alias for agw_tools_list.
{}
agw_add_toolAssign a tool to an agent. Compatibility alias for agw_tools_assign.
{
  "agentId": {
    "type": "string"
  },
  "toolName": {
    "type": "string"
  }
}
agw_remove_toolRemove a tool from an agent. Compatibility alias for agw_tools_remove.
{
  "agentId": {
    "type": "string"
  },
  "toolName": {
    "type": "string"
  }
}
agw_add_mcp_serverAdd a third-party MCP server to an agent. Compatibility alias for agw_agent_mcp_add.
{
  "agentId": {
    "type": "string"
  },
  "label": {
    "type": "string"
  },
  "url": {
    "type": "string"
  }
}
agw_remove_mcp_serverRemove a third-party MCP server from an agent. Compatibility alias for agw_agent_mcp_remove.
{
  "agentId": {
    "type": "string"
  },
  "serverUrl": {
    "type": "string"
  }
}

Machine-Readable Spec

AI agents can read the JSON script with id agw-mcp-machine-readable-spec directly from this page.

{
  "specName": "agentic-workers-mcp-http",
  "version": "2026-03-04",
  "docsUrl": "https://www.agenticworkers.com/MCP",
  "authentication": {
    "type": "bearer-token-or-next-auth-session-cookie",
    "notes": [
      "External MCP clients should use Authorization: Bearer <agw_op_live_token> generated from the org CLI page.",
      "Browser/session clients may continue to use an authenticated Agentic Workers session cookie.",
      "Cookie key can vary by environment (example: next-auth.session-token or __Secure-next-auth.session-token)."
    ]
  },
  "endpoints": {
    "discovery": {
      "method": "GET",
      "path": "/api/agw-mcp",
      "response": "{ tools: McpToolDefinition[] }"
    },
    "execute": {
      "method": "POST",
      "path": "/api/agw-mcp",
      "body": "JSON-RPC 2.0 request: initialize | tools/list | tools/call",
      "response": "JSON-RPC 2.0 response"
    },
    "validateMcpServer": {
      "method": "POST",
      "path": "/api/mcp-servers",
      "body": "{ label: string, url: string }",
      "response": "{ label, url, tools, validated: true } | { error, details }"
    }
  },
  "protocolVersion": "2024-11-05",
  "jsonRpcMethods": [
    "initialize",
    "notifications/initialized",
    "ping",
    "tools/list",
    "tools/call"
  ],
  "tools": [
    {
      "name": "agw_discovery_get",
      "title": "Discover the public API",
      "description": "Discover the public API",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "operationId": "discovery.get",
      "scope": "meta",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {}
    },
    {
      "name": "agw_openapi_get",
      "title": "Get the OpenAPI document",
      "description": "Get the OpenAPI document",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "operationId": "openapi.get",
      "scope": "meta",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {}
    },
    {
      "name": "agw_operator_workspaces_list",
      "title": "List selected accessible workspaces",
      "description": "List selected accessible workspaces",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "operationId": "operatorWorkspaces.list",
      "scope": "provider:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {}
    },
    {
      "name": "agw_provider_agents_list",
      "title": "List visible agent identities",
      "description": "List visible agent identities",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {
            "type": "string",
            "maxLength": 512
          },
          "organizationId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "operationId": "providerAgents.list",
      "scope": "provider:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "cursor": {
          "type": "string",
          "maxLength": 512
        },
        "organizationId": {
          "type": "string",
          "pattern": "^[a-fA-F0-9]{24}$"
        }
      }
    },
    {
      "name": "agw_provider_agents_status",
      "title": "Get minimal agent runtime status",
      "description": "Get minimal agent runtime status",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "organizationId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "operationId": "providerAgents.status",
      "scope": "provider:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "organizationId": {
          "type": "string",
          "pattern": "^[a-fA-F0-9]{24}$"
        }
      }
    },
    {
      "name": "agw_agents_list",
      "title": "List platform agents",
      "description": "List platform agents",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "category": {
            "type": "string",
            "maxLength": 100
          },
          "tag": {
            "type": "string",
            "maxLength": 100
          },
          "isDeployed": {
            "type": "boolean"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "operationId": "agents.list",
      "scope": "agents:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "offset": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "search": {
          "type": "string",
          "maxLength": 200
        },
        "category": {
          "type": "string",
          "maxLength": 100
        },
        "tag": {
          "type": "string",
          "maxLength": 100
        },
        "isDeployed": {
          "type": "boolean"
        }
      }
    },
    {
      "name": "agw_agents_create",
      "title": "Create a platform agent",
      "description": "Create a platform agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "humanName": {
            "type": "string",
            "maxLength": 120
          },
          "instructions": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "model": {
            "type": "string",
            "maxLength": 160
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 160
            },
            "maxItems": 100
          },
          "category": {
            "type": "string",
            "maxLength": 100
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "maxItems": 50
          }
        },
        "required": [
          "name",
          "instructions"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.create",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "humanName": {
          "type": "string",
          "maxLength": 120
        },
        "instructions": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100000
        },
        "description": {
          "type": "string",
          "maxLength": 4000
        },
        "model": {
          "type": "string",
          "maxLength": 160
        },
        "tools": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 160
          },
          "maxItems": 100
        },
        "category": {
          "type": "string",
          "maxLength": 100
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 100
          },
          "maxItems": 50
        }
      }
    },
    {
      "name": "agw_agents_get",
      "title": "Get a platform agent",
      "description": "Get a platform agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.get",
      "scope": "agents:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_agents_update",
      "title": "Update a platform agent",
      "description": "Update a platform agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "instructions": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "model": {
            "type": "string",
            "maxLength": 160
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 160
            },
            "maxItems": 100
          },
          "category": {
            "type": "string",
            "maxLength": 100
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "maxItems": 50
          },
          "teammateAgentIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^[^/\\s]+$"
            },
            "maxItems": 100
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.update",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "instructions": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100000
        },
        "description": {
          "type": "string",
          "maxLength": 4000
        },
        "model": {
          "type": "string",
          "maxLength": 160
        },
        "tools": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 160
          },
          "maxItems": 100
        },
        "category": {
          "type": "string",
          "maxLength": 100
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 100
          },
          "maxItems": 50
        },
        "teammateAgentIds": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "maxItems": 100
        }
      }
    },
    {
      "name": "agw_agents_delete",
      "title": "Archive a platform agent",
      "description": "Archive a platform agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.delete",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_agents_clone_hosted",
      "title": "Clone a hosted agent and its environment",
      "description": "Clone a hosted agent and its environment",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.cloneHosted",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        }
      }
    },
    {
      "name": "agw_agents_run",
      "title": "Run a platform agent synchronously",
      "description": "Run a platform agent synchronously. Consumes credits. Hosted Hermes execution is a distinct runtime and is not invoked by this operation.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "message": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          },
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId",
          "message"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.run",
      "scope": "agents:execute",
      "safety": "execute",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "message": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100000
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_agents_add_teammate",
      "title": "Add a same-organization teammate agent",
      "description": "Add a same-organization teammate agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "teammateAgentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId",
          "teammateAgentId"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.addTeammate",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "teammateAgentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_system_agent_update",
      "title": "Update the organization system agent instructions",
      "description": "Update the organization system agent instructions",
      "inputSchema": {
        "type": "object",
        "properties": {
          "instructions": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          }
        },
        "required": [
          "instructions"
        ],
        "additionalProperties": false
      },
      "operationId": "systemAgent.update",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "instructions": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100000
        }
      }
    },
    {
      "name": "agw_notes_list",
      "title": "List Team Notes",
      "description": "List Team Notes. Collaborative notes for accessible agents. teamId must match the authenticated active organization; personal and private agent boundaries apply. Bodies are trimmed, required, and limited to 4000 characters.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId",
          "agentId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "notes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200,
                  "pattern": "^[^/\\s]+$"
                },
                "agentId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200,
                  "pattern": "^[^/\\s]+$"
                },
                "body": {
                  "type": "string",
                  "maxLength": 4000
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200,
                      "pattern": "^[^/\\s]+$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "name"
                  ],
                  "additionalProperties": false
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "id",
                "agentId",
                "body",
                "author",
                "createdAt",
                "updatedAt"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          }
        },
        "required": [
          "notes"
        ],
        "additionalProperties": false
      },
      "operationId": "notes.list",
      "scope": "agents:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_notes_create",
      "title": "Create Team Notes",
      "description": "Create Team Notes. Collaborative notes for accessible agents. teamId must match the authenticated active organization; personal and private agent boundaries apply. Bodies are trimmed, required, and limited to 4000 characters.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "body": {
            "type": "string"
          }
        },
        "required": [
          "teamId",
          "agentId",
          "body"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "note": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": "^[^/\\s]+$"
              },
              "agentId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": "^[^/\\s]+$"
              },
              "body": {
                "type": "string",
                "maxLength": 4000
              },
              "author": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200,
                    "pattern": "^[^/\\s]+$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "id",
              "agentId",
              "body",
              "author",
              "createdAt",
              "updatedAt"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "note"
        ],
        "additionalProperties": false
      },
      "operationId": "notes.create",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "body": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_notes_update",
      "title": "Update Team Notes",
      "description": "Update Team Notes. Collaborative notes for accessible agents. teamId must match the authenticated active organization; personal and private agent boundaries apply. Bodies are trimmed, required, and limited to 4000 characters.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "noteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "body": {
            "type": "string"
          }
        },
        "required": [
          "teamId",
          "agentId",
          "noteId",
          "body"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "note": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": "^[^/\\s]+$"
              },
              "agentId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": "^[^/\\s]+$"
              },
              "body": {
                "type": "string",
                "maxLength": 4000
              },
              "author": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200,
                    "pattern": "^[^/\\s]+$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "id",
              "agentId",
              "body",
              "author",
              "createdAt",
              "updatedAt"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "note"
        ],
        "additionalProperties": false
      },
      "operationId": "notes.update",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "noteId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "body": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_notes_delete",
      "title": "Delete Team Notes",
      "description": "Delete Team Notes. Collaborative notes for accessible agents. teamId must match the authenticated active organization; personal and private agent boundaries apply. Bodies are trimmed, required, and limited to 4000 characters.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "noteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId",
          "agentId",
          "noteId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "noteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "deleted",
          "noteId"
        ],
        "additionalProperties": false
      },
      "operationId": "notes.delete",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "noteId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_providers_list",
      "title": "List workspace providers",
      "description": "List workspace providers. Provider grants let a Team owner allow a current workspace member to use owner-only operator operations in this workspace through operator credentials. teamId must match the authenticated active organization. Only a true owner may list, grant, or revoke; personal workspaces are rejected.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId"
        ],
        "additionalProperties": false
      },
      "operationId": "providers.list",
      "scope": "teams:admin",
      "safety": "read",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_providers_grant",
      "title": "Grant the provider role by account email",
      "description": "Grant the provider role by account email. Provider grants let a Team owner allow a current workspace member to use owner-only operator operations in this workspace through operator credentials. teamId must match the authenticated active organization. Only a true owner may list, grant, or revoke; personal workspaces are rejected. The user must already be a member of the workspace; removing them from the workspace drops the grant.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "email": {
            "type": "string",
            "minLength": 3,
            "maxLength": 320
          }
        },
        "required": [
          "teamId",
          "email"
        ],
        "additionalProperties": false
      },
      "operationId": "providers.grant",
      "scope": "teams:admin",
      "safety": "write",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "email": {
          "type": "string",
          "minLength": 3,
          "maxLength": 320
        }
      }
    },
    {
      "name": "agw_providers_revoke",
      "title": "Revoke the provider role",
      "description": "Revoke the provider role. Provider grants let a Team owner allow a current workspace member to use owner-only operator operations in this workspace through operator credentials. teamId must match the authenticated active organization. Only a true owner may list, grant, or revoke; personal workspaces are rejected.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "userId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId",
          "userId"
        ],
        "additionalProperties": false
      },
      "operationId": "providers.revoke",
      "scope": "teams:admin",
      "safety": "destructive",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "userId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_memories_list",
      "title": "List agent memories",
      "description": "List agent memories",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "memories.list",
      "scope": "agents:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_memories_create",
      "title": "Create an agent memory",
      "description": "Create an agent memory",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          }
        },
        "required": [
          "agentId",
          "text"
        ],
        "additionalProperties": false
      },
      "operationId": "memories.create",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "text": {
          "type": "string",
          "minLength": 1,
          "maxLength": 10000
        }
      }
    },
    {
      "name": "agw_memories_update",
      "title": "Update an agent memory",
      "description": "Update an agent memory",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "memoryId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          }
        },
        "required": [
          "agentId",
          "memoryId",
          "text"
        ],
        "additionalProperties": false
      },
      "operationId": "memories.update",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "memoryId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "text": {
          "type": "string",
          "minLength": 1,
          "maxLength": 10000
        }
      }
    },
    {
      "name": "agw_memories_delete",
      "title": "Delete an agent memory",
      "description": "Delete an agent memory",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "memoryId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId",
          "memoryId"
        ],
        "additionalProperties": false
      },
      "operationId": "memories.delete",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "memoryId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_tools_list",
      "title": "List available tools",
      "description": "List available tools",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "category": {
            "type": "string",
            "maxLength": 100
          },
          "connectedOnly": {
            "type": "boolean"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "operationId": "tools.list",
      "scope": "tools:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "offset": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "search": {
          "type": "string",
          "maxLength": 200
        },
        "category": {
          "type": "string",
          "maxLength": 100
        },
        "connectedOnly": {
          "type": "boolean"
        }
      }
    },
    {
      "name": "agw_tools_assign",
      "title": "Assign a tool to an agent",
      "description": "Assign a tool to an agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "toolName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[a-zA-Z0-9_.:-]+$"
          }
        },
        "required": [
          "agentId",
          "toolName"
        ],
        "additionalProperties": false
      },
      "operationId": "tools.assign",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "toolName": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160,
          "pattern": "^[a-zA-Z0-9_.:-]+$"
        }
      }
    },
    {
      "name": "agw_tools_remove",
      "title": "Remove a tool from an agent",
      "description": "Remove a tool from an agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "toolName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[a-zA-Z0-9_.:-]+$"
          }
        },
        "required": [
          "agentId",
          "toolName"
        ],
        "additionalProperties": false
      },
      "operationId": "tools.remove",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "toolName": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160,
          "pattern": "^[a-zA-Z0-9_.:-]+$"
        }
      }
    },
    {
      "name": "agw_agent_mcp_list",
      "title": "List an agent’s third-party MCP servers",
      "description": "List an agent’s third-party MCP servers",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "agentMcp.list",
      "scope": "agents:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_agent_mcp_add",
      "title": "Add a third-party MCP server to an agent",
      "description": "Add a third-party MCP server to an agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "url": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "maxLength": 2048
          },
          "allowedTools": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 160
            },
            "maxItems": 200
          }
        },
        "required": [
          "agentId",
          "label",
          "url"
        ],
        "additionalProperties": false
      },
      "operationId": "agentMcp.add",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "label": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "url": {
          "type": "string",
          "format": "uri",
          "pattern": "^https://",
          "maxLength": 2048
        },
        "allowedTools": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 160
          },
          "maxItems": 200
        }
      }
    },
    {
      "name": "agw_agent_mcp_remove",
      "title": "Remove a third-party MCP server from an agent",
      "description": "Remove a third-party MCP server from an agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "url": {
            "type": "string",
            "format": "uri",
            "maxLength": 2048
          }
        },
        "required": [
          "agentId",
          "url"
        ],
        "additionalProperties": false
      },
      "operationId": "agentMcp.remove",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "maxLength": 2048
        }
      }
    },
    {
      "name": "agw_prompts_list",
      "title": "List prompt templates",
      "description": "List prompt templates",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "isCustom": {
            "type": "boolean"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "operationId": "prompts.list",
      "scope": "prompts:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "offset": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "search": {
          "type": "string",
          "maxLength": 200
        },
        "isCustom": {
          "type": "boolean"
        }
      }
    },
    {
      "name": "agw_prompts_create",
      "title": "Create a prompt template",
      "description": "Create a prompt template",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 131072
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "isCustomTemplate": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "content"
        ],
        "additionalProperties": false
      },
      "operationId": "prompts.create",
      "scope": "prompts:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "content": {
          "type": "string",
          "minLength": 1,
          "maxLength": 131072
        },
        "description": {
          "type": "string",
          "maxLength": 4000
        },
        "isCustomTemplate": {
          "type": "boolean"
        }
      }
    },
    {
      "name": "agw_prompts_get",
      "title": "Get a prompt template",
      "description": "Get a prompt template",
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "previewOnly": {
            "type": "boolean"
          }
        },
        "required": [
          "templateId"
        ],
        "additionalProperties": false
      },
      "operationId": "prompts.get",
      "scope": "prompts:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "templateId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "previewOnly": {
          "type": "boolean"
        }
      }
    },
    {
      "name": "agw_prompts_update",
      "title": "Update a prompt template",
      "description": "Update a prompt template",
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 131072
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          }
        },
        "required": [
          "templateId"
        ],
        "additionalProperties": false
      },
      "operationId": "prompts.update",
      "scope": "prompts:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "templateId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "content": {
          "type": "string",
          "minLength": 1,
          "maxLength": 131072
        },
        "description": {
          "type": "string",
          "maxLength": 4000
        }
      }
    },
    {
      "name": "agw_prompts_delete",
      "title": "Delete a prompt template",
      "description": "Delete a prompt template",
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "templateId"
        ],
        "additionalProperties": false
      },
      "operationId": "prompts.delete",
      "scope": "prompts:write",
      "safety": "destructive",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "templateId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_prompts_test",
      "title": "Test a prompt template on a platform agent",
      "description": "Test a prompt template on a platform agent. Consumes credits and uses the same organization and billing context as a normal agent run.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "variables": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "string",
              "maxLength": 20000
            }
          }
        },
        "required": [
          "templateId",
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "prompts.test",
      "scope": "agents:execute",
      "safety": "execute",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "parameters": {
        "templateId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "variables": {
          "type": "object",
          "properties": {},
          "required": [],
          "additionalProperties": {
            "type": "string",
            "maxLength": 20000
          }
        }
      }
    },
    {
      "name": "agw_jobs_list",
      "title": "List platform scheduled jobs",
      "description": "List platform scheduled jobs. Lists platform automations, not hosted in-box routines.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "active": {
            "type": "boolean"
          },
          "triggerType": {
            "type": "string",
            "enum": [
              "cron",
              "composio_trigger"
            ]
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "operationId": "jobs.list",
      "scope": "jobs:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "offset": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "search": {
          "type": "string",
          "maxLength": 200
        },
        "active": {
          "type": "boolean"
        },
        "triggerType": {
          "type": "string",
          "enum": [
            "cron",
            "composio_trigger"
          ]
        },
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_jobs_create",
      "title": "Create a platform scheduled job",
      "description": "Create a platform scheduled job",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "triggerType": {
            "type": "string",
            "enum": [
              "cron",
              "composio_trigger"
            ]
          },
          "cronExpression": {
            "type": "string",
            "maxLength": 120
          },
          "composioTriggerSlug": {
            "type": "string",
            "maxLength": 200
          },
          "composioTriggerConfig": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "promptTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "variables": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "string",
              "maxLength": 20000
            }
          },
          "timezone": {
            "type": "string",
            "maxLength": 100
          },
          "active": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "dryRun": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "promptTemplateId",
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "jobs.create",
      "scope": "jobs:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "triggerType": {
          "type": "string",
          "enum": [
            "cron",
            "composio_trigger"
          ]
        },
        "cronExpression": {
          "type": "string",
          "maxLength": 120
        },
        "composioTriggerSlug": {
          "type": "string",
          "maxLength": 200
        },
        "composioTriggerConfig": {
          "type": "object",
          "properties": {},
          "required": [],
          "additionalProperties": true
        },
        "promptTemplateId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "variables": {
          "type": "object",
          "properties": {},
          "required": [],
          "additionalProperties": {
            "type": "string",
            "maxLength": 20000
          }
        },
        "timezone": {
          "type": "string",
          "maxLength": 100
        },
        "active": {
          "type": "boolean"
        },
        "description": {
          "type": "string",
          "maxLength": 4000
        },
        "dryRun": {
          "type": "boolean"
        }
      }
    },
    {
      "name": "agw_jobs_get",
      "title": "Get a platform scheduled job",
      "description": "Get a platform scheduled job",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false
      },
      "operationId": "jobs.get",
      "scope": "jobs:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "jobId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_jobs_update",
      "title": "Update a platform scheduled job",
      "description": "Update a platform scheduled job",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "cronExpression": {
            "type": "string",
            "maxLength": 120
          },
          "active": {
            "type": "boolean"
          },
          "variables": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "string",
              "maxLength": 20000
            }
          },
          "timezone": {
            "type": "string",
            "maxLength": 100
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false
      },
      "operationId": "jobs.update",
      "scope": "jobs:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "jobId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "cronExpression": {
          "type": "string",
          "maxLength": 120
        },
        "active": {
          "type": "boolean"
        },
        "variables": {
          "type": "object",
          "properties": {},
          "required": [],
          "additionalProperties": {
            "type": "string",
            "maxLength": 20000
          }
        },
        "timezone": {
          "type": "string",
          "maxLength": 100
        },
        "description": {
          "type": "string",
          "maxLength": 4000
        }
      }
    },
    {
      "name": "agw_jobs_delete",
      "title": "Delete a platform scheduled job",
      "description": "Delete a platform scheduled job",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false
      },
      "operationId": "jobs.delete",
      "scope": "jobs:write",
      "safety": "destructive",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "jobId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_jobs_execute",
      "title": "Queue a platform scheduled job for execution",
      "description": "Queue a platform scheduled job for execution",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false
      },
      "operationId": "jobs.execute",
      "scope": "jobs:execute",
      "safety": "execute",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "parameters": {
        "jobId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_triggers_list",
      "title": "List scheduled-job trigger types",
      "description": "List scheduled-job trigger types",
      "inputSchema": {
        "type": "object",
        "properties": {
          "toolkit": {
            "type": "string",
            "maxLength": 120
          },
          "search": {
            "type": "string",
            "maxLength": 200
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "operationId": "triggers.list",
      "scope": "jobs:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "toolkit": {
          "type": "string",
          "maxLength": 120
        },
        "search": {
          "type": "string",
          "maxLength": 200
        }
      }
    },
    {
      "name": "agw_integrations_catalog",
      "title": "List integrations and connection status",
      "description": "List integrations and connection status",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "operationId": "integrations.catalog",
      "scope": "integrations:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "parameters": {}
    },
    {
      "name": "agw_integrations_status",
      "title": "Get integration status",
      "description": "Get integration status",
      "inputSchema": {
        "type": "object",
        "properties": {
          "serviceKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9_-]+$"
          }
        },
        "required": [
          "serviceKey"
        ],
        "additionalProperties": false
      },
      "operationId": "integrations.status",
      "scope": "integrations:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "parameters": {
        "serviceKey": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9_-]+$"
        }
      }
    },
    {
      "name": "agw_integrations_connect",
      "title": "Start or validate an integration connection",
      "description": "Start or validate an integration connection. Set dryRun to validate availability without creating an external connected account.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "serviceKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9_-]+$"
          },
          "dryRun": {
            "type": "boolean"
          }
        },
        "required": [
          "serviceKey"
        ],
        "additionalProperties": false
      },
      "operationId": "integrations.connect",
      "scope": "integrations:write",
      "safety": "write",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "parameters": {
        "serviceKey": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9_-]+$"
        },
        "dryRun": {
          "type": "boolean"
        }
      }
    },
    {
      "name": "agw_org_box_status",
      "title": "Get organization box status",
      "description": "Get organization box status",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "operationId": "orgBox.status",
      "scope": "hosted:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {}
    },
    {
      "name": "agw_hosted_runs_create",
      "title": "Start a turn on an existing hosted agent",
      "description": "Start a turn on an existing hosted agent. Requires the durable Runs supervisor. An explicit clientRequestId deduplicates retries; sessionId continues an actor-owned conversation. Returns a resumable handle, never a fabricated answer.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "message": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000,
            "pattern": "\\S"
          },
          "sessionId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "clientRequestId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[a-zA-Z0-9_.:-]+$"
          }
        },
        "required": [
          "slug",
          "message",
          "clientRequestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "sessionId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "awaiting_approval",
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "terminal": {
            "type": "boolean"
          },
          "resultState": {
            "type": "string",
            "enum": [
              "pending",
              "available",
              "unavailable"
            ]
          },
          "recovery": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "state",
              "message"
            ],
            "additionalProperties": false
          },
          "answer": {
            "type": "string"
          },
          "usage": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "number",
              "minimum": 0
            }
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          },
          "approval": {
            "type": "object",
            "properties": {
              "required": {
                "type": "boolean"
              },
              "action": {
                "type": "string"
              }
            },
            "required": [
              "required",
              "action"
            ],
            "additionalProperties": false
          },
          "artifacts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string"
                },
                "href": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "href"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "capabilities": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "links": {
            "type": "object",
            "properties": {
              "get": {
                "type": "string"
              },
              "wait": {
                "type": "string"
              },
              "cancel": {
                "type": "string"
              }
            },
            "required": [
              "get",
              "wait",
              "cancel"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "agentId",
          "sessionId",
          "runId",
          "status",
          "terminal",
          "resultState",
          "artifacts",
          "capabilities",
          "links"
        ],
        "additionalProperties": false
      },
      "operationId": "hosted.runs.create",
      "scope": "hosted:execute",
      "safety": "execute",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "message": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100000,
          "pattern": "\\S"
        },
        "sessionId": {
          "type": "string",
          "pattern": "^[a-fA-F0-9]{24}$"
        },
        "clientRequestId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[a-zA-Z0-9_.:-]+$"
        }
      }
    },
    {
      "name": "agw_hosted_runs_get",
      "title": "Read an actor-owned persisted hosted run",
      "description": "Read an actor-owned persisted hosted run. Returns finalized text only when the complete snapshot matches a canonical transcript receipt. A completed lifecycle with resultState pending is not a complete answer. Exact artifact links use the existing authenticated file-read operation. Usage reports available token counts; gateway billing remains authoritative.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          }
        },
        "required": [
          "slug",
          "runId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "sessionId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "awaiting_approval",
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "terminal": {
            "type": "boolean"
          },
          "resultState": {
            "type": "string",
            "enum": [
              "pending",
              "available",
              "unavailable"
            ]
          },
          "recovery": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "state",
              "message"
            ],
            "additionalProperties": false
          },
          "answer": {
            "type": "string"
          },
          "usage": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "number",
              "minimum": 0
            }
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          },
          "approval": {
            "type": "object",
            "properties": {
              "required": {
                "type": "boolean"
              },
              "action": {
                "type": "string"
              }
            },
            "required": [
              "required",
              "action"
            ],
            "additionalProperties": false
          },
          "artifacts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string"
                },
                "href": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "href"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "capabilities": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "links": {
            "type": "object",
            "properties": {
              "get": {
                "type": "string"
              },
              "wait": {
                "type": "string"
              },
              "cancel": {
                "type": "string"
              }
            },
            "required": [
              "get",
              "wait",
              "cancel"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "agentId",
          "sessionId",
          "runId",
          "status",
          "terminal",
          "resultState",
          "artifacts",
          "capabilities",
          "links"
        ],
        "additionalProperties": false
      },
      "operationId": "hosted.runs.get",
      "scope": "hosted:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "runId": {
          "type": "string",
          "pattern": "^[a-fA-F0-9]{24}$"
        }
      }
    },
    {
      "name": "agw_hosted_runs_wait",
      "title": "Wait briefly for a persisted hosted result",
      "description": "Wait briefly for a persisted hosted result. Polls for at most 10 seconds plus database/authentication latency. Returns a resumable handle on expiry or approval. Disconnect detaches without cancellation. Revalidates the original credential and actor-owned session while polling.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "timeoutMs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000
          }
        },
        "required": [
          "slug",
          "runId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "sessionId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "awaiting_approval",
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "terminal": {
            "type": "boolean"
          },
          "resultState": {
            "type": "string",
            "enum": [
              "pending",
              "available",
              "unavailable"
            ]
          },
          "recovery": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "state",
              "message"
            ],
            "additionalProperties": false
          },
          "answer": {
            "type": "string"
          },
          "usage": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "number",
              "minimum": 0
            }
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          },
          "approval": {
            "type": "object",
            "properties": {
              "required": {
                "type": "boolean"
              },
              "action": {
                "type": "string"
              }
            },
            "required": [
              "required",
              "action"
            ],
            "additionalProperties": false
          },
          "artifacts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string"
                },
                "href": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "href"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "capabilities": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "links": {
            "type": "object",
            "properties": {
              "get": {
                "type": "string"
              },
              "wait": {
                "type": "string"
              },
              "cancel": {
                "type": "string"
              }
            },
            "required": [
              "get",
              "wait",
              "cancel"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "agentId",
          "sessionId",
          "runId",
          "status",
          "terminal",
          "resultState",
          "artifacts",
          "capabilities",
          "links"
        ],
        "additionalProperties": false
      },
      "operationId": "hosted.runs.wait",
      "scope": "hosted:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "runId": {
          "type": "string",
          "pattern": "^[a-fA-F0-9]{24}$"
        },
        "timeoutMs": {
          "type": "integer",
          "minimum": 0,
          "maximum": 10000
        }
      }
    },
    {
      "name": "agw_hosted_runs_cancel",
      "title": "Cancel an existing hosted run",
      "description": "Cancel an existing hosted run. Persists stop intent and dispatches it to the configured Hermes run. Poll until canonical finalization confirms cancellation. Disconnect only detaches.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          }
        },
        "required": [
          "slug",
          "runId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "sessionId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "awaiting_approval",
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "terminal": {
            "type": "boolean"
          },
          "resultState": {
            "type": "string",
            "enum": [
              "pending",
              "available",
              "unavailable"
            ]
          },
          "recovery": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "state",
              "message"
            ],
            "additionalProperties": false
          },
          "answer": {
            "type": "string"
          },
          "usage": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "number",
              "minimum": 0
            }
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          },
          "approval": {
            "type": "object",
            "properties": {
              "required": {
                "type": "boolean"
              },
              "action": {
                "type": "string"
              }
            },
            "required": [
              "required",
              "action"
            ],
            "additionalProperties": false
          },
          "artifacts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string"
                },
                "href": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "href"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "capabilities": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "links": {
            "type": "object",
            "properties": {
              "get": {
                "type": "string"
              },
              "wait": {
                "type": "string"
              },
              "cancel": {
                "type": "string"
              }
            },
            "required": [
              "get",
              "wait",
              "cancel"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "agentId",
          "sessionId",
          "runId",
          "status",
          "terminal",
          "resultState",
          "artifacts",
          "capabilities",
          "links"
        ],
        "additionalProperties": false
      },
      "operationId": "hosted.runs.cancel",
      "scope": "hosted:execute",
      "safety": "destructive",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "runId": {
          "type": "string",
          "pattern": "^[a-fA-F0-9]{24}$"
        }
      }
    },
    {
      "name": "agw_hosted_status",
      "title": "Get hosted agent status",
      "description": "Get hosted agent status",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "operationId": "hosted.status",
      "scope": "hosted:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        }
      }
    },
    {
      "name": "agw_hosted_inspect",
      "title": "Inspect hosted agent administration state",
      "description": "Inspect hosted agent administration state",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "operationId": "hosted.inspect",
      "scope": "hosted:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        }
      }
    },
    {
      "name": "agw_connect_tickets_create",
      "title": "Create a short-lived terminal connect ticket",
      "description": "Create a short-lived terminal connect ticket",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "operationId": "connectTickets.create",
      "scope": "hosted:connect",
      "safety": "execute",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        }
      }
    },
    {
      "name": "agw_workspace_files_list",
      "title": "List hosted workspace files",
      "description": "List hosted workspace files",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "path": {
            "type": "string",
            "maxLength": 1024
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "operationId": "workspaceFiles.list",
      "scope": "hosted:files",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "path": {
          "type": "string",
          "maxLength": 1024
        }
      }
    },
    {
      "name": "agw_workspace_files_read",
      "title": "Read a hosted workspace file",
      "description": "Read a hosted workspace file",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          }
        },
        "required": [
          "slug",
          "path"
        ],
        "additionalProperties": false
      },
      "operationId": "workspaceFiles.read",
      "scope": "hosted:files",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "path": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1024
        }
      }
    },
    {
      "name": "agw_workspace_files_write",
      "title": "Write a hosted workspace file",
      "description": "Write a hosted workspace file",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          },
          "content": {
            "type": "string",
            "maxLength": 2000000
          },
          "encoding": {
            "type": "string",
            "enum": [
              "utf8",
              "base64"
            ]
          }
        },
        "required": [
          "slug",
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "operationId": "workspaceFiles.write",
      "scope": "hosted:files",
      "safety": "write",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "path": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1024
        },
        "content": {
          "type": "string",
          "maxLength": 2000000
        },
        "encoding": {
          "type": "string",
          "enum": [
            "utf8",
            "base64"
          ]
        }
      }
    },
    {
      "name": "agw_workspace_files_delete",
      "title": "Delete a hosted workspace file or empty directory",
      "description": "Delete a hosted workspace file or empty directory",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          }
        },
        "required": [
          "slug",
          "path"
        ],
        "additionalProperties": false
      },
      "operationId": "workspaceFiles.delete",
      "scope": "hosted:files",
      "safety": "destructive",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "path": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1024
        }
      }
    },
    {
      "name": "agw_workspace_uploads_create",
      "title": "Create a resumable workspace upload",
      "description": "Create a resumable workspace upload. Upload session metadata only. Transfer local files with agw-operator agent files upload; never put large file content in tool arguments. Sessions expire after 24 hours.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "uploadId": {
            "type": "string",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
            "maxLength": 36
          },
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          },
          "size": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10737418240
          },
          "sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$",
            "maxLength": 64
          },
          "sourceIdentity": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512
          },
          "overwrite": {
            "type": "boolean"
          }
        },
        "required": [
          "slug",
          "uploadId",
          "path",
          "size",
          "sha256",
          "sourceIdentity"
        ],
        "additionalProperties": false
      },
      "operationId": "workspaceUploads.create",
      "scope": "hosted:files",
      "safety": "write",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "uploadId": {
          "type": "string",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "maxLength": 36
        },
        "path": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1024
        },
        "size": {
          "type": "integer",
          "minimum": 0,
          "maximum": 10737418240
        },
        "sha256": {
          "type": "string",
          "pattern": "^[0-9a-f]{64}$",
          "maxLength": 64
        },
        "sourceIdentity": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512
        },
        "overwrite": {
          "type": "boolean"
        }
      }
    },
    {
      "name": "agw_workspace_uploads_status",
      "title": "Inspect a resumable workspace upload",
      "description": "Inspect a resumable workspace upload. Upload session metadata only. Transfer local files with agw-operator agent files upload; never put large file content in tool arguments. Sessions expire after 24 hours.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "uploadId": {
            "type": "string",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
            "maxLength": 36
          }
        },
        "required": [
          "slug",
          "uploadId"
        ],
        "additionalProperties": false
      },
      "operationId": "workspaceUploads.status",
      "scope": "hosted:files",
      "safety": "read",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "uploadId": {
          "type": "string",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "maxLength": 36
        }
      }
    },
    {
      "name": "agw_workspace_uploads_cancel",
      "title": "Cancel a resumable workspace upload",
      "description": "Cancel a resumable workspace upload. Upload session metadata only. Transfer local files with agw-operator agent files upload; never put large file content in tool arguments. Sessions expire after 24 hours.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "uploadId": {
            "type": "string",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
            "maxLength": 36
          }
        },
        "required": [
          "slug",
          "uploadId"
        ],
        "additionalProperties": false
      },
      "operationId": "workspaceUploads.cancel",
      "scope": "hosted:files",
      "safety": "write",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "uploadId": {
          "type": "string",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "maxLength": 36
        }
      }
    },
    {
      "name": "agw_workspace_uploads_complete",
      "title": "Verify and complete a workspace upload",
      "description": "Verify and complete a workspace upload. Upload session metadata only. Transfer local files with agw-operator agent files upload; never put large file content in tool arguments. Sessions expire after 24 hours.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "uploadId": {
            "type": "string",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
            "maxLength": 36
          }
        },
        "required": [
          "slug",
          "uploadId"
        ],
        "additionalProperties": false
      },
      "operationId": "workspaceUploads.complete",
      "scope": "hosted:files",
      "safety": "write",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "uploadId": {
          "type": "string",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "maxLength": 36
        }
      }
    },
    {
      "name": "agw_routines_list",
      "title": "List in-box hosted routines",
      "description": "List in-box hosted routines. Lists routines stored inside a hosted agent, not platform scheduled jobs.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "operationId": "routines.list",
      "scope": "hosted:routines",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        }
      }
    },
    {
      "name": "agw_routines_create",
      "title": "Create an in-box hosted routine",
      "description": "Create an in-box hosted routine",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "schedule": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "prompt": {
            "type": "string",
            "maxLength": 100000
          },
          "name": {
            "type": "string",
            "maxLength": 160
          },
          "deliver": {
            "type": "string",
            "enum": [
              "telegram",
              "origin"
            ]
          }
        },
        "required": [
          "slug",
          "schedule"
        ],
        "additionalProperties": false
      },
      "operationId": "routines.create",
      "scope": "hosted:routines",
      "safety": "write",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "schedule": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "prompt": {
          "type": "string",
          "maxLength": 100000
        },
        "name": {
          "type": "string",
          "maxLength": 160
        },
        "deliver": {
          "type": "string",
          "enum": [
            "telegram",
            "origin"
          ]
        }
      }
    },
    {
      "name": "agw_routines_get",
      "title": "Get an in-box hosted routine",
      "description": "Get an in-box hosted routine",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "routineId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "slug",
          "routineId"
        ],
        "additionalProperties": false
      },
      "operationId": "routines.get",
      "scope": "hosted:routines",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "routineId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_routines_update",
      "title": "Update an in-box hosted routine action or delivery",
      "description": "Update an in-box hosted routine action or delivery",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "routineId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "action": {
            "type": "string",
            "enum": [
              "pause",
              "resume"
            ]
          },
          "deliver": {
            "type": "string",
            "enum": [
              "telegram",
              "none"
            ]
          }
        },
        "required": [
          "slug",
          "routineId"
        ],
        "additionalProperties": false
      },
      "operationId": "routines.update",
      "scope": "hosted:routines",
      "safety": "write",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "routineId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "action": {
          "type": "string",
          "enum": [
            "pause",
            "resume"
          ]
        },
        "deliver": {
          "type": "string",
          "enum": [
            "telegram",
            "none"
          ]
        }
      }
    },
    {
      "name": "agw_routines_delete",
      "title": "Delete an in-box hosted routine",
      "description": "Delete an in-box hosted routine",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "routineId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "slug",
          "routineId"
        ],
        "additionalProperties": false
      },
      "operationId": "routines.delete",
      "scope": "hosted:routines",
      "safety": "destructive",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "routineId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_facts_list",
      "title": "List workspace facts",
      "description": "List workspace facts. A fact is a script that prints one JSON array of {name, value, series?} entries on a schedule. teamId must match the authenticated active organization.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId"
        ],
        "additionalProperties": false
      },
      "operationId": "facts.list",
      "scope": "hosted:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_facts_create",
      "title": "Create a fact on a hosted agent",
      "description": "Create a fact on a hosted agent. A fact is a script that prints one JSON array of {name, value, series?} entries on a schedule. teamId must match the authenticated active organization. The script is saved in the agent environment and scheduled as a script-only Hermes routine; it runs with the workspace credentials, not as the agent. Hosted environments only; connected devices are not supported yet.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "description": {
            "type": "string",
            "maxLength": 1000
          },
          "schedule": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[A-Za-z0-9 *\\/,.:@+-]+$"
          },
          "script": {
            "type": "string",
            "minLength": 1,
            "maxLength": 65536
          },
          "view": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "number",
                  "trend",
                  "bar",
                  "heatmap"
                ]
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              },
              "layout": {
                "type": "string",
                "enum": [
                  "calendar",
                  "grid"
                ]
              },
              "goodDirection": {
                "type": "string",
                "enum": [
                  "up",
                  "down"
                ]
              }
            },
            "required": [
              "kind",
              "name"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "slug",
          "title",
          "schedule",
          "script",
          "view"
        ],
        "additionalProperties": false
      },
      "operationId": "facts.create",
      "scope": "hosted:execute",
      "safety": "execute",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "description": {
          "type": "string",
          "maxLength": 1000
        },
        "schedule": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160,
          "pattern": "^[A-Za-z0-9 *\\/,.:@+-]+$"
        },
        "script": {
          "type": "string",
          "minLength": 1,
          "maxLength": 65536
        },
        "view": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "number",
                "trend",
                "bar",
                "heatmap"
              ]
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "layout": {
              "type": "string",
              "enum": [
                "calendar",
                "grid"
              ]
            },
            "goodDirection": {
              "type": "string",
              "enum": [
                "up",
                "down"
              ]
            }
          },
          "required": [
            "kind",
            "name"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "name": "agw_facts_get",
      "title": "Get a fact",
      "description": "Get a fact. A fact is a script that prints one JSON array of {name, value, series?} entries on a schedule. teamId must match the authenticated active organization.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "factId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId",
          "factId"
        ],
        "additionalProperties": false
      },
      "operationId": "facts.get",
      "scope": "hosted:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "factId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_facts_update",
      "title": "Update, pause or resume a fact",
      "description": "Update, pause or resume a fact. A fact is a script that prints one JSON array of {name, value, series?} entries on a schedule. teamId must match the authenticated active organization. The script and schedule cannot change; delete the fact and create a new one.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "factId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "description": {
            "type": "string",
            "maxLength": 1000
          },
          "view": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "number",
                  "trend",
                  "bar",
                  "heatmap"
                ]
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              },
              "layout": {
                "type": "string",
                "enum": [
                  "calendar",
                  "grid"
                ]
              },
              "goodDirection": {
                "type": "string",
                "enum": [
                  "up",
                  "down"
                ]
              }
            },
            "required": [
              "kind",
              "name"
            ],
            "additionalProperties": false
          },
          "pinned": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "paused"
            ]
          }
        },
        "required": [
          "teamId",
          "factId"
        ],
        "additionalProperties": false
      },
      "operationId": "facts.update",
      "scope": "hosted:routines",
      "safety": "write",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "factId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "description": {
          "type": "string",
          "maxLength": 1000
        },
        "view": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "number",
                "trend",
                "bar",
                "heatmap"
              ]
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "layout": {
              "type": "string",
              "enum": [
                "calendar",
                "grid"
              ]
            },
            "goodDirection": {
              "type": "string",
              "enum": [
                "up",
                "down"
              ]
            }
          },
          "required": [
            "kind",
            "name"
          ],
          "additionalProperties": false
        },
        "pinned": {
          "type": "boolean"
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "paused"
          ]
        }
      }
    },
    {
      "name": "agw_facts_delete",
      "title": "Delete a fact, its routine and its runs",
      "description": "Delete a fact, its routine and its runs",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "factId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId",
          "factId"
        ],
        "additionalProperties": false
      },
      "operationId": "facts.delete",
      "scope": "hosted:routines",
      "safety": "destructive",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "factId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        }
      }
    },
    {
      "name": "agw_facts_runs",
      "title": "List the runs of a fact",
      "description": "List the runs of a fact. Newest first, including rejected runs with their error.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "factId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 500
          }
        },
        "required": [
          "teamId",
          "factId"
        ],
        "additionalProperties": false
      },
      "operationId": "facts.runs",
      "scope": "hosted:read",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "teamId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "factId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 500
        }
      }
    },
    {
      "name": "agw_logs_list",
      "title": "Read hosted agent logs",
      "description": "Read hosted agent logs",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "name": {
            "type": "string",
            "enum": [
              "agent",
              "errors",
              "gateway"
            ]
          },
          "lines": {
            "type": "integer",
            "minimum": 1,
            "maximum": 2000
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "operationId": "logs.list",
      "scope": "hosted:inspect",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "name": {
          "type": "string",
          "enum": [
            "agent",
            "errors",
            "gateway"
          ]
        },
        "lines": {
          "type": "integer",
          "minimum": 1,
          "maximum": 2000
        }
      }
    },
    {
      "name": "agw_traces_list",
      "title": "List hosted agent traces",
      "description": "List hosted agent traces",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "status": {
            "type": "string",
            "maxLength": 50
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "operationId": "traces.list",
      "scope": "hosted:inspect",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "search": {
          "type": "string",
          "maxLength": 200
        },
        "status": {
          "type": "string",
          "maxLength": 50
        }
      }
    },
    {
      "name": "agw_traces_get",
      "title": "Get a hosted agent trace",
      "description": "Get a hosted agent trace",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          }
        },
        "required": [
          "slug",
          "sessionId"
        ],
        "additionalProperties": false
      },
      "operationId": "traces.get",
      "scope": "hosted:inspect",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "sessionId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        }
      }
    },
    {
      "name": "agw_skills_list",
      "title": "List hosted agent skills",
      "description": "List hosted agent skills",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "operationId": "skills.list",
      "scope": "hosted:skills",
      "safety": "read",
      "ownerOnly": false,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        }
      }
    },
    {
      "name": "agw_skills_install",
      "title": "Install a hosted agent skill",
      "description": "Install a hosted agent skill",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "skillKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "skillMd": {
            "type": "string",
            "minLength": 1,
            "maxLength": 131072
          }
        },
        "required": [
          "slug",
          "skillKey",
          "skillMd"
        ],
        "additionalProperties": false
      },
      "operationId": "skills.install",
      "scope": "hosted:skills",
      "safety": "write",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "skillKey": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "skillMd": {
          "type": "string",
          "minLength": 1,
          "maxLength": 131072
        }
      }
    },
    {
      "name": "agw_skills_delete",
      "title": "Delete a hosted agent skill",
      "description": "Delete a hosted agent skill",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "skillKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "slug",
          "skillKey"
        ],
        "additionalProperties": false
      },
      "operationId": "skills.delete",
      "scope": "hosted:skills",
      "safety": "destructive",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "skillKey": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        }
      }
    },
    {
      "name": "agw_commands_execute",
      "title": "Execute a bounded command in a hosted agent workspace",
      "description": "Execute a bounded command in a hosted agent workspace",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "command": {
            "type": "string",
            "minLength": 1,
            "maxLength": 20000
          },
          "cwd": {
            "type": "string",
            "maxLength": 1024
          },
          "timeoutMs": {
            "type": "integer",
            "minimum": 250,
            "maximum": 28000
          }
        },
        "required": [
          "slug",
          "command"
        ],
        "additionalProperties": false
      },
      "operationId": "commands.execute",
      "scope": "hosted:execute",
      "safety": "execute",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        },
        "command": {
          "type": "string",
          "minLength": 1,
          "maxLength": 20000
        },
        "cwd": {
          "type": "string",
          "maxLength": 1024
        },
        "timeoutMs": {
          "type": "integer",
          "minimum": 250,
          "maximum": 28000
        }
      }
    },
    {
      "name": "agw_gateway_restart",
      "title": "Restart a hosted agent gateway",
      "description": "Restart a hosted agent gateway",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "operationId": "gateway.restart",
      "scope": "hosted:admin",
      "safety": "execute",
      "ownerOnly": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "parameters": {
        "slug": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
        }
      }
    },
    {
      "name": "agw_orgs_list",
      "title": "List selected accessible workspaces (compatibility alias)",
      "description": "List selected accessible workspaces. Compatibility alias for agw_operator_workspaces_list.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "operationId": "operatorWorkspaces.list",
      "scope": "provider:read",
      "safety": "read",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {}
    },
    {
      "name": "agw_list_agents",
      "title": "List platform agents (compatibility alias)",
      "description": "List platform agents. Compatibility alias for agw_agents_list.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "operationId": "agents.list",
      "scope": "agents:read",
      "safety": "read",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {}
    },
    {
      "name": "agw_create_agent",
      "title": "Create a platform agent (compatibility alias)",
      "description": "Create a platform agent. Compatibility alias for agw_agents_create.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "humanName": {
            "type": "string",
            "maxLength": 120
          },
          "instructions": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "model": {
            "type": "string",
            "maxLength": 160
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 160
            },
            "maxItems": 100
          },
          "category": {
            "type": "string",
            "maxLength": 100
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "maxItems": 50
          }
        },
        "required": [
          "name",
          "instructions"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.create",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "humanName": {
          "type": "string",
          "maxLength": 120
        },
        "instructions": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100000
        },
        "description": {
          "type": "string",
          "maxLength": 4000
        },
        "model": {
          "type": "string",
          "maxLength": 160
        },
        "tools": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 160
          },
          "maxItems": 100
        },
        "category": {
          "type": "string",
          "maxLength": 100
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 100
          },
          "maxItems": 50
        }
      }
    },
    {
      "name": "agw_update_agent",
      "title": "Update a platform agent (compatibility alias)",
      "description": "Update a platform agent. Compatibility alias for agw_agents_update.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "updates": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "agentId",
          "updates"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.update",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        },
        "updates": {
          "type": "object",
          "additionalProperties": true
        }
      }
    },
    {
      "name": "agw_delete_agent",
      "title": "Archive a platform agent (compatibility alias)",
      "description": "Archive a platform agent. Compatibility alias for agw_agents_delete.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.delete",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_add_teammate",
      "title": "Add a same-organization teammate agent (compatibility alias)",
      "description": "Add a same-organization teammate agent. Compatibility alias for agw_agents_add_teammate.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "teammateAgentId": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "teammateAgentId"
        ],
        "additionalProperties": false
      },
      "operationId": "agents.addTeammate",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        },
        "teammateAgentId": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_list_memories",
      "title": "List agent memories (compatibility alias)",
      "description": "List agent memories. Compatibility alias for agw_memories_list.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "memories.list",
      "scope": "agents:read",
      "safety": "read",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_add_memory",
      "title": "Create an agent memory (compatibility alias)",
      "description": "Create an agent memory. Compatibility alias for agw_memories_create.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "text"
        ],
        "additionalProperties": false
      },
      "operationId": "memories.create",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_update_memory",
      "title": "Update an agent memory (compatibility alias)",
      "description": "Update an agent memory. Compatibility alias for agw_memories_update.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "memoryId": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "memoryId",
          "text"
        ],
        "additionalProperties": false
      },
      "operationId": "memories.update",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        },
        "memoryId": {
          "type": "string"
        },
        "text": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_remove_memory",
      "title": "Delete an agent memory (compatibility alias)",
      "description": "Delete an agent memory. Compatibility alias for agw_memories_delete.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "memoryId": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "memoryId"
        ],
        "additionalProperties": false
      },
      "operationId": "memories.delete",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        },
        "memoryId": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_list_scheduled_jobs",
      "title": "List platform scheduled jobs (compatibility alias)",
      "description": "List platform scheduled jobs. Compatibility alias for agw_jobs_list.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "operationId": "jobs.list",
      "scope": "jobs:read",
      "safety": "read",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {}
    },
    {
      "name": "agw_create_scheduled_job",
      "title": "Create a platform scheduled job (compatibility alias)",
      "description": "Create a platform scheduled job. Compatibility alias for agw_jobs_create.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "triggerType": {
            "type": "string",
            "enum": [
              "cron",
              "composio_trigger"
            ]
          },
          "cronExpression": {
            "type": "string",
            "maxLength": 120
          },
          "composioTriggerSlug": {
            "type": "string",
            "maxLength": 200
          },
          "composioTriggerConfig": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "promptTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "variables": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "string",
              "maxLength": 20000
            }
          },
          "timezone": {
            "type": "string",
            "maxLength": 100
          },
          "active": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "dryRun": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "promptTemplateId",
          "agentId"
        ],
        "additionalProperties": false
      },
      "operationId": "jobs.create",
      "scope": "jobs:write",
      "safety": "write",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "triggerType": {
          "type": "string",
          "enum": [
            "cron",
            "composio_trigger"
          ]
        },
        "cronExpression": {
          "type": "string",
          "maxLength": 120
        },
        "composioTriggerSlug": {
          "type": "string",
          "maxLength": 200
        },
        "composioTriggerConfig": {
          "type": "object",
          "properties": {},
          "required": [],
          "additionalProperties": true
        },
        "promptTemplateId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "agentId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "pattern": "^[^/\\s]+$"
        },
        "variables": {
          "type": "object",
          "properties": {},
          "required": [],
          "additionalProperties": {
            "type": "string",
            "maxLength": 20000
          }
        },
        "timezone": {
          "type": "string",
          "maxLength": 100
        },
        "active": {
          "type": "boolean"
        },
        "description": {
          "type": "string",
          "maxLength": 4000
        },
        "dryRun": {
          "type": "boolean"
        }
      }
    },
    {
      "name": "agw_update_scheduled_job",
      "title": "Update a platform scheduled job (compatibility alias)",
      "description": "Update a platform scheduled job. Compatibility alias for agw_jobs_update.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string"
          },
          "updates": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "jobId",
          "updates"
        ],
        "additionalProperties": false
      },
      "operationId": "jobs.update",
      "scope": "jobs:write",
      "safety": "write",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "jobId": {
          "type": "string"
        },
        "updates": {
          "type": "object",
          "additionalProperties": true
        }
      }
    },
    {
      "name": "agw_delete_scheduled_job",
      "title": "Delete a platform scheduled job (compatibility alias)",
      "description": "Delete a platform scheduled job. Compatibility alias for agw_jobs_delete.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false
      },
      "operationId": "jobs.delete",
      "scope": "jobs:write",
      "safety": "destructive",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "jobId": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_list_prompt_templates",
      "title": "List prompt templates (compatibility alias)",
      "description": "List prompt templates. Compatibility alias for agw_prompts_list.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "operationId": "prompts.list",
      "scope": "prompts:read",
      "safety": "read",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      }
    },
    {
      "name": "agw_get_prompt_template",
      "title": "Get a prompt template (compatibility alias)",
      "description": "Get a prompt template. Compatibility alias for agw_prompts_get.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "promptTemplateId": {
            "type": "string"
          }
        },
        "required": [
          "promptTemplateId"
        ],
        "additionalProperties": false
      },
      "operationId": "prompts.get",
      "scope": "prompts:read",
      "safety": "read",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "promptTemplateId": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_create_prompt_template",
      "title": "Create a prompt template (compatibility alias)",
      "description": "Create a prompt template. Compatibility alias for agw_prompts_create.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 131072
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "isCustomTemplate": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "content"
        ],
        "additionalProperties": false
      },
      "operationId": "prompts.create",
      "scope": "prompts:write",
      "safety": "write",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "content": {
          "type": "string",
          "minLength": 1,
          "maxLength": 131072
        },
        "description": {
          "type": "string",
          "maxLength": 4000
        },
        "isCustomTemplate": {
          "type": "boolean"
        }
      }
    },
    {
      "name": "agw_update_system_prompt",
      "title": "Update the organization system agent instructions (compatibility alias)",
      "description": "Update the organization system agent instructions. Compatibility alias for agw_system_agent_update.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "newInstructions": {
            "type": "string"
          }
        },
        "required": [
          "newInstructions"
        ],
        "additionalProperties": false
      },
      "operationId": "systemAgent.update",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": true,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "newInstructions": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_test_template_on_agent",
      "title": "Test a prompt template on a platform agent (compatibility alias)",
      "description": "Test a prompt template on a platform agent. Compatibility alias for agw_prompts_test.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "promptTemplateId": {
            "type": "string"
          },
          "variables": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "promptTemplateId"
        ],
        "additionalProperties": false
      },
      "operationId": "prompts.test",
      "scope": "agents:execute",
      "safety": "execute",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "parameters": {
        "agentId": {
          "type": "string"
        },
        "promptTemplateId": {
          "type": "string"
        },
        "variables": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_list_available_tools",
      "title": "List available tools (compatibility alias)",
      "description": "List available tools. Compatibility alias for agw_tools_list.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "operationId": "tools.list",
      "scope": "tools:read",
      "safety": "read",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {}
    },
    {
      "name": "agw_add_tool",
      "title": "Assign a tool to an agent (compatibility alias)",
      "description": "Assign a tool to an agent. Compatibility alias for agw_tools_assign.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "toolName": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "toolName"
        ],
        "additionalProperties": false
      },
      "operationId": "tools.assign",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        },
        "toolName": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_remove_tool",
      "title": "Remove a tool from an agent (compatibility alias)",
      "description": "Remove a tool from an agent. Compatibility alias for agw_tools_remove.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "toolName": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "toolName"
        ],
        "additionalProperties": false
      },
      "operationId": "tools.remove",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        },
        "toolName": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_add_mcp_server",
      "title": "Add a third-party MCP server to an agent (compatibility alias)",
      "description": "Add a third-party MCP server to an agent. Compatibility alias for agw_agent_mcp_add.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "label",
          "url"
        ],
        "additionalProperties": false
      },
      "operationId": "agentMcp.add",
      "scope": "agents:write",
      "safety": "write",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    {
      "name": "agw_remove_mcp_server",
      "title": "Remove a third-party MCP server from an agent (compatibility alias)",
      "description": "Remove a third-party MCP server from an agent. Compatibility alias for agw_agent_mcp_remove.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "serverUrl": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "serverUrl"
        ],
        "additionalProperties": false
      },
      "operationId": "agentMcp.remove",
      "scope": "agents:write",
      "safety": "destructive",
      "ownerOnly": false,
      "legacyAlias": true,
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "parameters": {
        "agentId": {
          "type": "string"
        },
        "serverUrl": {
          "type": "string"
        }
      }
    }
  ],
  "mcpTools": [
    {
      "name": "agw_discovery_get",
      "title": "Discover the public API",
      "description": "Discover the public API",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "discovery.get",
        "agw/scope": "meta",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_openapi_get",
      "title": "Get the OpenAPI document",
      "description": "Get the OpenAPI document",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "openapi.get",
        "agw/scope": "meta",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_operator_workspaces_list",
      "title": "List selected accessible workspaces",
      "description": "List selected accessible workspaces",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "operatorWorkspaces.list",
        "agw/scope": "provider:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_provider_agents_list",
      "title": "List visible agent identities",
      "description": "List visible agent identities",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {
            "type": "string",
            "maxLength": 512
          },
          "organizationId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "providerAgents.list",
        "agw/scope": "provider:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_provider_agents_status",
      "title": "Get minimal agent runtime status",
      "description": "Get minimal agent runtime status",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "organizationId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "providerAgents.status",
        "agw/scope": "provider:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_agents_list",
      "title": "List platform agents",
      "description": "List platform agents",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "category": {
            "type": "string",
            "maxLength": 100
          },
          "tag": {
            "type": "string",
            "maxLength": 100
          },
          "isDeployed": {
            "type": "boolean"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.list",
        "agw/scope": "agents:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_agents_create",
      "title": "Create a platform agent",
      "description": "Create a platform agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "humanName": {
            "type": "string",
            "maxLength": 120
          },
          "instructions": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "model": {
            "type": "string",
            "maxLength": 160
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 160
            },
            "maxItems": 100
          },
          "category": {
            "type": "string",
            "maxLength": 100
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "maxItems": 50
          }
        },
        "required": [
          "name",
          "instructions"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.create",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_agents_get",
      "title": "Get a platform agent",
      "description": "Get a platform agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.get",
        "agw/scope": "agents:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_agents_update",
      "title": "Update a platform agent",
      "description": "Update a platform agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "instructions": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "model": {
            "type": "string",
            "maxLength": 160
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 160
            },
            "maxItems": 100
          },
          "category": {
            "type": "string",
            "maxLength": 100
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "maxItems": 50
          },
          "teammateAgentIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^[^/\\s]+$"
            },
            "maxItems": 100
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.update",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_agents_delete",
      "title": "Archive a platform agent",
      "description": "Archive a platform agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.delete",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_agents_clone_hosted",
      "title": "Clone a hosted agent and its environment",
      "description": "Clone a hosted agent and its environment",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.cloneHosted",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_agents_run",
      "title": "Run a platform agent synchronously",
      "description": "Run a platform agent synchronously. Consumes credits. Hosted Hermes execution is a distinct runtime and is not invoked by this operation.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "message": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          },
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId",
          "message"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "agents.run",
        "agw/scope": "agents:execute",
        "agw/safety": "execute",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_agents_add_teammate",
      "title": "Add a same-organization teammate agent",
      "description": "Add a same-organization teammate agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "teammateAgentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId",
          "teammateAgentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.addTeammate",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_system_agent_update",
      "title": "Update the organization system agent instructions",
      "description": "Update the organization system agent instructions",
      "inputSchema": {
        "type": "object",
        "properties": {
          "instructions": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          }
        },
        "required": [
          "instructions"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "systemAgent.update",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_notes_list",
      "title": "List Team Notes",
      "description": "List Team Notes. Collaborative notes for accessible agents. teamId must match the authenticated active organization; personal and private agent boundaries apply. Bodies are trimmed, required, and limited to 4000 characters.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId",
          "agentId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "notes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200,
                  "pattern": "^[^/\\s]+$"
                },
                "agentId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200,
                  "pattern": "^[^/\\s]+$"
                },
                "body": {
                  "type": "string",
                  "maxLength": 4000
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200,
                      "pattern": "^[^/\\s]+$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "name"
                  ],
                  "additionalProperties": false
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "id",
                "agentId",
                "body",
                "author",
                "createdAt",
                "updatedAt"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          }
        },
        "required": [
          "notes"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "notes.list",
        "agw/scope": "agents:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_notes_create",
      "title": "Create Team Notes",
      "description": "Create Team Notes. Collaborative notes for accessible agents. teamId must match the authenticated active organization; personal and private agent boundaries apply. Bodies are trimmed, required, and limited to 4000 characters.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "body": {
            "type": "string"
          }
        },
        "required": [
          "teamId",
          "agentId",
          "body"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "note": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": "^[^/\\s]+$"
              },
              "agentId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": "^[^/\\s]+$"
              },
              "body": {
                "type": "string",
                "maxLength": 4000
              },
              "author": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200,
                    "pattern": "^[^/\\s]+$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "id",
              "agentId",
              "body",
              "author",
              "createdAt",
              "updatedAt"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "note"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "notes.create",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_notes_update",
      "title": "Update Team Notes",
      "description": "Update Team Notes. Collaborative notes for accessible agents. teamId must match the authenticated active organization; personal and private agent boundaries apply. Bodies are trimmed, required, and limited to 4000 characters.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "noteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "body": {
            "type": "string"
          }
        },
        "required": [
          "teamId",
          "agentId",
          "noteId",
          "body"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "note": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": "^[^/\\s]+$"
              },
              "agentId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200,
                "pattern": "^[^/\\s]+$"
              },
              "body": {
                "type": "string",
                "maxLength": 4000
              },
              "author": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200,
                    "pattern": "^[^/\\s]+$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": false
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "id",
              "agentId",
              "body",
              "author",
              "createdAt",
              "updatedAt"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "note"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "notes.update",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_notes_delete",
      "title": "Delete Team Notes",
      "description": "Delete Team Notes. Collaborative notes for accessible agents. teamId must match the authenticated active organization; personal and private agent boundaries apply. Bodies are trimmed, required, and limited to 4000 characters.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "noteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId",
          "agentId",
          "noteId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "noteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "deleted",
          "noteId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "notes.delete",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_providers_list",
      "title": "List workspace providers",
      "description": "List workspace providers. Provider grants let a Team owner allow a current workspace member to use owner-only operator operations in this workspace through operator credentials. teamId must match the authenticated active organization. Only a true owner may list, grant, or revoke; personal workspaces are rejected.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "providers.list",
        "agw/scope": "teams:admin",
        "agw/safety": "read",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_providers_grant",
      "title": "Grant the provider role by account email",
      "description": "Grant the provider role by account email. Provider grants let a Team owner allow a current workspace member to use owner-only operator operations in this workspace through operator credentials. teamId must match the authenticated active organization. Only a true owner may list, grant, or revoke; personal workspaces are rejected. The user must already be a member of the workspace; removing them from the workspace drops the grant.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "email": {
            "type": "string",
            "minLength": 3,
            "maxLength": 320
          }
        },
        "required": [
          "teamId",
          "email"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "providers.grant",
        "agw/scope": "teams:admin",
        "agw/safety": "write",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_providers_revoke",
      "title": "Revoke the provider role",
      "description": "Revoke the provider role. Provider grants let a Team owner allow a current workspace member to use owner-only operator operations in this workspace through operator credentials. teamId must match the authenticated active organization. Only a true owner may list, grant, or revoke; personal workspaces are rejected.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "userId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId",
          "userId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "providers.revoke",
        "agw/scope": "teams:admin",
        "agw/safety": "destructive",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_memories_list",
      "title": "List agent memories",
      "description": "List agent memories",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "memories.list",
        "agw/scope": "agents:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_memories_create",
      "title": "Create an agent memory",
      "description": "Create an agent memory",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          }
        },
        "required": [
          "agentId",
          "text"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "memories.create",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_memories_update",
      "title": "Update an agent memory",
      "description": "Update an agent memory",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "memoryId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          }
        },
        "required": [
          "agentId",
          "memoryId",
          "text"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "memories.update",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_memories_delete",
      "title": "Delete an agent memory",
      "description": "Delete an agent memory",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "memoryId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId",
          "memoryId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "memories.delete",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_tools_list",
      "title": "List available tools",
      "description": "List available tools",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "category": {
            "type": "string",
            "maxLength": 100
          },
          "connectedOnly": {
            "type": "boolean"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "tools.list",
        "agw/scope": "tools:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_tools_assign",
      "title": "Assign a tool to an agent",
      "description": "Assign a tool to an agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "toolName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[a-zA-Z0-9_.:-]+$"
          }
        },
        "required": [
          "agentId",
          "toolName"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "tools.assign",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_tools_remove",
      "title": "Remove a tool from an agent",
      "description": "Remove a tool from an agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "toolName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[a-zA-Z0-9_.:-]+$"
          }
        },
        "required": [
          "agentId",
          "toolName"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "tools.remove",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_agent_mcp_list",
      "title": "List an agent’s third-party MCP servers",
      "description": "List an agent’s third-party MCP servers",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agentMcp.list",
        "agw/scope": "agents:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_agent_mcp_add",
      "title": "Add a third-party MCP server to an agent",
      "description": "Add a third-party MCP server to an agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "label": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "url": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "maxLength": 2048
          },
          "allowedTools": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 160
            },
            "maxItems": 200
          }
        },
        "required": [
          "agentId",
          "label",
          "url"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agentMcp.add",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_agent_mcp_remove",
      "title": "Remove a third-party MCP server from an agent",
      "description": "Remove a third-party MCP server from an agent",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "url": {
            "type": "string",
            "format": "uri",
            "maxLength": 2048
          }
        },
        "required": [
          "agentId",
          "url"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agentMcp.remove",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_prompts_list",
      "title": "List prompt templates",
      "description": "List prompt templates",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "isCustom": {
            "type": "boolean"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "prompts.list",
        "agw/scope": "prompts:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_prompts_create",
      "title": "Create a prompt template",
      "description": "Create a prompt template",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 131072
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "isCustomTemplate": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "content"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "prompts.create",
        "agw/scope": "prompts:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_prompts_get",
      "title": "Get a prompt template",
      "description": "Get a prompt template",
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "previewOnly": {
            "type": "boolean"
          }
        },
        "required": [
          "templateId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "prompts.get",
        "agw/scope": "prompts:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_prompts_update",
      "title": "Update a prompt template",
      "description": "Update a prompt template",
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 131072
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          }
        },
        "required": [
          "templateId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "prompts.update",
        "agw/scope": "prompts:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_prompts_delete",
      "title": "Delete a prompt template",
      "description": "Delete a prompt template",
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "templateId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "prompts.delete",
        "agw/scope": "prompts:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_prompts_test",
      "title": "Test a prompt template on a platform agent",
      "description": "Test a prompt template on a platform agent. Consumes credits and uses the same organization and billing context as a normal agent run.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "variables": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "string",
              "maxLength": 20000
            }
          }
        },
        "required": [
          "templateId",
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "prompts.test",
        "agw/scope": "agents:execute",
        "agw/safety": "execute",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_jobs_list",
      "title": "List platform scheduled jobs",
      "description": "List platform scheduled jobs. Lists platform automations, not hosted in-box routines.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "active": {
            "type": "boolean"
          },
          "triggerType": {
            "type": "string",
            "enum": [
              "cron",
              "composio_trigger"
            ]
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "jobs.list",
        "agw/scope": "jobs:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_jobs_create",
      "title": "Create a platform scheduled job",
      "description": "Create a platform scheduled job",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "triggerType": {
            "type": "string",
            "enum": [
              "cron",
              "composio_trigger"
            ]
          },
          "cronExpression": {
            "type": "string",
            "maxLength": 120
          },
          "composioTriggerSlug": {
            "type": "string",
            "maxLength": 200
          },
          "composioTriggerConfig": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "promptTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "variables": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "string",
              "maxLength": 20000
            }
          },
          "timezone": {
            "type": "string",
            "maxLength": 100
          },
          "active": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "dryRun": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "promptTemplateId",
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "jobs.create",
        "agw/scope": "jobs:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_jobs_get",
      "title": "Get a platform scheduled job",
      "description": "Get a platform scheduled job",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "jobs.get",
        "agw/scope": "jobs:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_jobs_update",
      "title": "Update a platform scheduled job",
      "description": "Update a platform scheduled job",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "cronExpression": {
            "type": "string",
            "maxLength": 120
          },
          "active": {
            "type": "boolean"
          },
          "variables": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "string",
              "maxLength": 20000
            }
          },
          "timezone": {
            "type": "string",
            "maxLength": 100
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "jobs.update",
        "agw/scope": "jobs:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_jobs_delete",
      "title": "Delete a platform scheduled job",
      "description": "Delete a platform scheduled job",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "jobs.delete",
        "agw/scope": "jobs:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_jobs_execute",
      "title": "Queue a platform scheduled job for execution",
      "description": "Queue a platform scheduled job for execution",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "jobs.execute",
        "agw/scope": "jobs:execute",
        "agw/safety": "execute",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_triggers_list",
      "title": "List scheduled-job trigger types",
      "description": "List scheduled-job trigger types",
      "inputSchema": {
        "type": "object",
        "properties": {
          "toolkit": {
            "type": "string",
            "maxLength": 120
          },
          "search": {
            "type": "string",
            "maxLength": 200
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "triggers.list",
        "agw/scope": "jobs:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_integrations_catalog",
      "title": "List integrations and connection status",
      "description": "List integrations and connection status",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "integrations.catalog",
        "agw/scope": "integrations:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_integrations_status",
      "title": "Get integration status",
      "description": "Get integration status",
      "inputSchema": {
        "type": "object",
        "properties": {
          "serviceKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9_-]+$"
          }
        },
        "required": [
          "serviceKey"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "integrations.status",
        "agw/scope": "integrations:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_integrations_connect",
      "title": "Start or validate an integration connection",
      "description": "Start or validate an integration connection. Set dryRun to validate availability without creating an external connected account.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "serviceKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9_-]+$"
          },
          "dryRun": {
            "type": "boolean"
          }
        },
        "required": [
          "serviceKey"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "integrations.connect",
        "agw/scope": "integrations:write",
        "agw/safety": "write",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_org_box_status",
      "title": "Get organization box status",
      "description": "Get organization box status",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "orgBox.status",
        "agw/scope": "hosted:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_hosted_runs_create",
      "title": "Start a turn on an existing hosted agent",
      "description": "Start a turn on an existing hosted agent. Requires the durable Runs supervisor. An explicit clientRequestId deduplicates retries; sessionId continues an actor-owned conversation. Returns a resumable handle, never a fabricated answer.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "message": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000,
            "pattern": "\\S"
          },
          "sessionId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "clientRequestId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[a-zA-Z0-9_.:-]+$"
          }
        },
        "required": [
          "slug",
          "message",
          "clientRequestId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "sessionId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "awaiting_approval",
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "terminal": {
            "type": "boolean"
          },
          "resultState": {
            "type": "string",
            "enum": [
              "pending",
              "available",
              "unavailable"
            ]
          },
          "recovery": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "state",
              "message"
            ],
            "additionalProperties": false
          },
          "answer": {
            "type": "string"
          },
          "usage": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "number",
              "minimum": 0
            }
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          },
          "approval": {
            "type": "object",
            "properties": {
              "required": {
                "type": "boolean"
              },
              "action": {
                "type": "string"
              }
            },
            "required": [
              "required",
              "action"
            ],
            "additionalProperties": false
          },
          "artifacts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string"
                },
                "href": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "href"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "capabilities": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "links": {
            "type": "object",
            "properties": {
              "get": {
                "type": "string"
              },
              "wait": {
                "type": "string"
              },
              "cancel": {
                "type": "string"
              }
            },
            "required": [
              "get",
              "wait",
              "cancel"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "agentId",
          "sessionId",
          "runId",
          "status",
          "terminal",
          "resultState",
          "artifacts",
          "capabilities",
          "links"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "hosted.runs.create",
        "agw/scope": "hosted:execute",
        "agw/safety": "execute",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_hosted_runs_get",
      "title": "Read an actor-owned persisted hosted run",
      "description": "Read an actor-owned persisted hosted run. Returns finalized text only when the complete snapshot matches a canonical transcript receipt. A completed lifecycle with resultState pending is not a complete answer. Exact artifact links use the existing authenticated file-read operation. Usage reports available token counts; gateway billing remains authoritative.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          }
        },
        "required": [
          "slug",
          "runId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "sessionId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "awaiting_approval",
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "terminal": {
            "type": "boolean"
          },
          "resultState": {
            "type": "string",
            "enum": [
              "pending",
              "available",
              "unavailable"
            ]
          },
          "recovery": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "state",
              "message"
            ],
            "additionalProperties": false
          },
          "answer": {
            "type": "string"
          },
          "usage": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "number",
              "minimum": 0
            }
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          },
          "approval": {
            "type": "object",
            "properties": {
              "required": {
                "type": "boolean"
              },
              "action": {
                "type": "string"
              }
            },
            "required": [
              "required",
              "action"
            ],
            "additionalProperties": false
          },
          "artifacts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string"
                },
                "href": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "href"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "capabilities": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "links": {
            "type": "object",
            "properties": {
              "get": {
                "type": "string"
              },
              "wait": {
                "type": "string"
              },
              "cancel": {
                "type": "string"
              }
            },
            "required": [
              "get",
              "wait",
              "cancel"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "agentId",
          "sessionId",
          "runId",
          "status",
          "terminal",
          "resultState",
          "artifacts",
          "capabilities",
          "links"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "hosted.runs.get",
        "agw/scope": "hosted:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_hosted_runs_wait",
      "title": "Wait briefly for a persisted hosted result",
      "description": "Wait briefly for a persisted hosted result. Polls for at most 10 seconds plus database/authentication latency. Returns a resumable handle on expiry or approval. Disconnect detaches without cancellation. Revalidates the original credential and actor-owned session while polling.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "timeoutMs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000
          }
        },
        "required": [
          "slug",
          "runId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "sessionId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "awaiting_approval",
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "terminal": {
            "type": "boolean"
          },
          "resultState": {
            "type": "string",
            "enum": [
              "pending",
              "available",
              "unavailable"
            ]
          },
          "recovery": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "state",
              "message"
            ],
            "additionalProperties": false
          },
          "answer": {
            "type": "string"
          },
          "usage": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "number",
              "minimum": 0
            }
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          },
          "approval": {
            "type": "object",
            "properties": {
              "required": {
                "type": "boolean"
              },
              "action": {
                "type": "string"
              }
            },
            "required": [
              "required",
              "action"
            ],
            "additionalProperties": false
          },
          "artifacts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string"
                },
                "href": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "href"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "capabilities": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "links": {
            "type": "object",
            "properties": {
              "get": {
                "type": "string"
              },
              "wait": {
                "type": "string"
              },
              "cancel": {
                "type": "string"
              }
            },
            "required": [
              "get",
              "wait",
              "cancel"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "agentId",
          "sessionId",
          "runId",
          "status",
          "terminal",
          "resultState",
          "artifacts",
          "capabilities",
          "links"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "hosted.runs.wait",
        "agw/scope": "hosted:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_hosted_runs_cancel",
      "title": "Cancel an existing hosted run",
      "description": "Cancel an existing hosted run. Persists stop intent and dispatches it to the configured Hermes run. Poll until canonical finalization confirms cancellation. Disconnect only detaches.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          }
        },
        "required": [
          "slug",
          "runId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "sessionId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "runId": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "awaiting_approval",
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "terminal": {
            "type": "boolean"
          },
          "resultState": {
            "type": "string",
            "enum": [
              "pending",
              "available",
              "unavailable"
            ]
          },
          "recovery": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "state",
              "message"
            ],
            "additionalProperties": false
          },
          "answer": {
            "type": "string"
          },
          "usage": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "number",
              "minimum": 0
            }
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false
          },
          "approval": {
            "type": "object",
            "properties": {
              "required": {
                "type": "boolean"
              },
              "action": {
                "type": "string"
              }
            },
            "required": [
              "required",
              "action"
            ],
            "additionalProperties": false
          },
          "artifacts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string"
                },
                "href": {
                  "type": "string"
                }
              },
              "required": [
                "path",
                "href"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "capabilities": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "links": {
            "type": "object",
            "properties": {
              "get": {
                "type": "string"
              },
              "wait": {
                "type": "string"
              },
              "cancel": {
                "type": "string"
              }
            },
            "required": [
              "get",
              "wait",
              "cancel"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "agentId",
          "sessionId",
          "runId",
          "status",
          "terminal",
          "resultState",
          "artifacts",
          "capabilities",
          "links"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "hosted.runs.cancel",
        "agw/scope": "hosted:execute",
        "agw/safety": "destructive",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_hosted_status",
      "title": "Get hosted agent status",
      "description": "Get hosted agent status",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "hosted.status",
        "agw/scope": "hosted:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_hosted_inspect",
      "title": "Inspect hosted agent administration state",
      "description": "Inspect hosted agent administration state",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "hosted.inspect",
        "agw/scope": "hosted:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_connect_tickets_create",
      "title": "Create a short-lived terminal connect ticket",
      "description": "Create a short-lived terminal connect ticket",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "connectTickets.create",
        "agw/scope": "hosted:connect",
        "agw/safety": "execute",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_workspace_files_list",
      "title": "List hosted workspace files",
      "description": "List hosted workspace files",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "path": {
            "type": "string",
            "maxLength": 1024
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "workspaceFiles.list",
        "agw/scope": "hosted:files",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_workspace_files_read",
      "title": "Read a hosted workspace file",
      "description": "Read a hosted workspace file",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          }
        },
        "required": [
          "slug",
          "path"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "workspaceFiles.read",
        "agw/scope": "hosted:files",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_workspace_files_write",
      "title": "Write a hosted workspace file",
      "description": "Write a hosted workspace file",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          },
          "content": {
            "type": "string",
            "maxLength": 2000000
          },
          "encoding": {
            "type": "string",
            "enum": [
              "utf8",
              "base64"
            ]
          }
        },
        "required": [
          "slug",
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "workspaceFiles.write",
        "agw/scope": "hosted:files",
        "agw/safety": "write",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_workspace_files_delete",
      "title": "Delete a hosted workspace file or empty directory",
      "description": "Delete a hosted workspace file or empty directory",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          }
        },
        "required": [
          "slug",
          "path"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "workspaceFiles.delete",
        "agw/scope": "hosted:files",
        "agw/safety": "destructive",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_workspace_uploads_create",
      "title": "Create a resumable workspace upload",
      "description": "Create a resumable workspace upload. Upload session metadata only. Transfer local files with agw-operator agent files upload; never put large file content in tool arguments. Sessions expire after 24 hours.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "uploadId": {
            "type": "string",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
            "maxLength": 36
          },
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1024
          },
          "size": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10737418240
          },
          "sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$",
            "maxLength": 64
          },
          "sourceIdentity": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512
          },
          "overwrite": {
            "type": "boolean"
          }
        },
        "required": [
          "slug",
          "uploadId",
          "path",
          "size",
          "sha256",
          "sourceIdentity"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "workspaceUploads.create",
        "agw/scope": "hosted:files",
        "agw/safety": "write",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_workspace_uploads_status",
      "title": "Inspect a resumable workspace upload",
      "description": "Inspect a resumable workspace upload. Upload session metadata only. Transfer local files with agw-operator agent files upload; never put large file content in tool arguments. Sessions expire after 24 hours.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "uploadId": {
            "type": "string",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
            "maxLength": 36
          }
        },
        "required": [
          "slug",
          "uploadId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "workspaceUploads.status",
        "agw/scope": "hosted:files",
        "agw/safety": "read",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_workspace_uploads_cancel",
      "title": "Cancel a resumable workspace upload",
      "description": "Cancel a resumable workspace upload. Upload session metadata only. Transfer local files with agw-operator agent files upload; never put large file content in tool arguments. Sessions expire after 24 hours.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "uploadId": {
            "type": "string",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
            "maxLength": 36
          }
        },
        "required": [
          "slug",
          "uploadId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "workspaceUploads.cancel",
        "agw/scope": "hosted:files",
        "agw/safety": "write",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_workspace_uploads_complete",
      "title": "Verify and complete a workspace upload",
      "description": "Verify and complete a workspace upload. Upload session metadata only. Transfer local files with agw-operator agent files upload; never put large file content in tool arguments. Sessions expire after 24 hours.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "uploadId": {
            "type": "string",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
            "maxLength": 36
          }
        },
        "required": [
          "slug",
          "uploadId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "workspaceUploads.complete",
        "agw/scope": "hosted:files",
        "agw/safety": "write",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_routines_list",
      "title": "List in-box hosted routines",
      "description": "List in-box hosted routines. Lists routines stored inside a hosted agent, not platform scheduled jobs.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "routines.list",
        "agw/scope": "hosted:routines",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_routines_create",
      "title": "Create an in-box hosted routine",
      "description": "Create an in-box hosted routine",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "schedule": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "prompt": {
            "type": "string",
            "maxLength": 100000
          },
          "name": {
            "type": "string",
            "maxLength": 160
          },
          "deliver": {
            "type": "string",
            "enum": [
              "telegram",
              "origin"
            ]
          }
        },
        "required": [
          "slug",
          "schedule"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "routines.create",
        "agw/scope": "hosted:routines",
        "agw/safety": "write",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_routines_get",
      "title": "Get an in-box hosted routine",
      "description": "Get an in-box hosted routine",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "routineId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "slug",
          "routineId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "routines.get",
        "agw/scope": "hosted:routines",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_routines_update",
      "title": "Update an in-box hosted routine action or delivery",
      "description": "Update an in-box hosted routine action or delivery",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "routineId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "action": {
            "type": "string",
            "enum": [
              "pause",
              "resume"
            ]
          },
          "deliver": {
            "type": "string",
            "enum": [
              "telegram",
              "none"
            ]
          }
        },
        "required": [
          "slug",
          "routineId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "routines.update",
        "agw/scope": "hosted:routines",
        "agw/safety": "write",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_routines_delete",
      "title": "Delete an in-box hosted routine",
      "description": "Delete an in-box hosted routine",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "routineId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "slug",
          "routineId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "routines.delete",
        "agw/scope": "hosted:routines",
        "agw/safety": "destructive",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_facts_list",
      "title": "List workspace facts",
      "description": "List workspace facts. A fact is a script that prints one JSON array of {name, value, series?} entries on a schedule. teamId must match the authenticated active organization.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "facts.list",
        "agw/scope": "hosted:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_facts_create",
      "title": "Create a fact on a hosted agent",
      "description": "Create a fact on a hosted agent. A fact is a script that prints one JSON array of {name, value, series?} entries on a schedule. teamId must match the authenticated active organization. The script is saved in the agent environment and scheduled as a script-only Hermes routine; it runs with the workspace credentials, not as the agent. Hosted environments only; connected devices are not supported yet.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "description": {
            "type": "string",
            "maxLength": 1000
          },
          "schedule": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[A-Za-z0-9 *\\/,.:@+-]+$"
          },
          "script": {
            "type": "string",
            "minLength": 1,
            "maxLength": 65536
          },
          "view": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "number",
                  "trend",
                  "bar",
                  "heatmap"
                ]
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              },
              "layout": {
                "type": "string",
                "enum": [
                  "calendar",
                  "grid"
                ]
              },
              "goodDirection": {
                "type": "string",
                "enum": [
                  "up",
                  "down"
                ]
              }
            },
            "required": [
              "kind",
              "name"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "slug",
          "title",
          "schedule",
          "script",
          "view"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "facts.create",
        "agw/scope": "hosted:execute",
        "agw/safety": "execute",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_facts_get",
      "title": "Get a fact",
      "description": "Get a fact. A fact is a script that prints one JSON array of {name, value, series?} entries on a schedule. teamId must match the authenticated active organization.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "factId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId",
          "factId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "facts.get",
        "agw/scope": "hosted:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_facts_update",
      "title": "Update, pause or resume a fact",
      "description": "Update, pause or resume a fact. A fact is a script that prints one JSON array of {name, value, series?} entries on a schedule. teamId must match the authenticated active organization. The script and schedule cannot change; delete the fact and create a new one.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "factId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "description": {
            "type": "string",
            "maxLength": 1000
          },
          "view": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "number",
                  "trend",
                  "bar",
                  "heatmap"
                ]
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              },
              "layout": {
                "type": "string",
                "enum": [
                  "calendar",
                  "grid"
                ]
              },
              "goodDirection": {
                "type": "string",
                "enum": [
                  "up",
                  "down"
                ]
              }
            },
            "required": [
              "kind",
              "name"
            ],
            "additionalProperties": false
          },
          "pinned": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "paused"
            ]
          }
        },
        "required": [
          "teamId",
          "factId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "facts.update",
        "agw/scope": "hosted:routines",
        "agw/safety": "write",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_facts_delete",
      "title": "Delete a fact, its routine and its runs",
      "description": "Delete a fact, its routine and its runs",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "factId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          }
        },
        "required": [
          "teamId",
          "factId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "facts.delete",
        "agw/scope": "hosted:routines",
        "agw/safety": "destructive",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_facts_runs",
      "title": "List the runs of a fact",
      "description": "List the runs of a fact. Newest first, including rejected runs with their error.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "factId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 500
          }
        },
        "required": [
          "teamId",
          "factId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "facts.runs",
        "agw/scope": "hosted:read",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_logs_list",
      "title": "Read hosted agent logs",
      "description": "Read hosted agent logs",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "name": {
            "type": "string",
            "enum": [
              "agent",
              "errors",
              "gateway"
            ]
          },
          "lines": {
            "type": "integer",
            "minimum": 1,
            "maximum": 2000
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "logs.list",
        "agw/scope": "hosted:inspect",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_traces_list",
      "title": "List hosted agent traces",
      "description": "List hosted agent traces",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "search": {
            "type": "string",
            "maxLength": 200
          },
          "status": {
            "type": "string",
            "maxLength": 50
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "traces.list",
        "agw/scope": "hosted:inspect",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_traces_get",
      "title": "Get a hosted agent trace",
      "description": "Get a hosted agent trace",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          }
        },
        "required": [
          "slug",
          "sessionId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "traces.get",
        "agw/scope": "hosted:inspect",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_skills_list",
      "title": "List hosted agent skills",
      "description": "List hosted agent skills",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "skills.list",
        "agw/scope": "hosted:skills",
        "agw/safety": "read",
        "agw/ownerOnly": false
      }
    },
    {
      "name": "agw_skills_install",
      "title": "Install a hosted agent skill",
      "description": "Install a hosted agent skill",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "skillKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "skillMd": {
            "type": "string",
            "minLength": 1,
            "maxLength": 131072
          }
        },
        "required": [
          "slug",
          "skillKey",
          "skillMd"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "skills.install",
        "agw/scope": "hosted:skills",
        "agw/safety": "write",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_skills_delete",
      "title": "Delete a hosted agent skill",
      "description": "Delete a hosted agent skill",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "skillKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "slug",
          "skillKey"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "skills.delete",
        "agw/scope": "hosted:skills",
        "agw/safety": "destructive",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_commands_execute",
      "title": "Execute a bounded command in a hosted agent workspace",
      "description": "Execute a bounded command in a hosted agent workspace",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          },
          "command": {
            "type": "string",
            "minLength": 1,
            "maxLength": 20000
          },
          "cwd": {
            "type": "string",
            "maxLength": 1024
          },
          "timeoutMs": {
            "type": "integer",
            "minimum": 250,
            "maximum": 28000
          }
        },
        "required": [
          "slug",
          "command"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "commands.execute",
        "agw/scope": "hosted:execute",
        "agw/safety": "execute",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_gateway_restart",
      "title": "Restart a hosted agent gateway",
      "description": "Restart a hosted agent gateway",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$"
          }
        },
        "required": [
          "slug"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "gateway.restart",
        "agw/scope": "hosted:admin",
        "agw/safety": "execute",
        "agw/ownerOnly": true
      }
    },
    {
      "name": "agw_orgs_list",
      "title": "List selected accessible workspaces (compatibility alias)",
      "description": "List selected accessible workspaces. Compatibility alias for agw_operator_workspaces_list.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "operatorWorkspaces.list",
        "agw/scope": "provider:read",
        "agw/safety": "read",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_list_agents",
      "title": "List platform agents (compatibility alias)",
      "description": "List platform agents. Compatibility alias for agw_agents_list.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.list",
        "agw/scope": "agents:read",
        "agw/safety": "read",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_create_agent",
      "title": "Create a platform agent (compatibility alias)",
      "description": "Create a platform agent. Compatibility alias for agw_agents_create.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "humanName": {
            "type": "string",
            "maxLength": 120
          },
          "instructions": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100000
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "model": {
            "type": "string",
            "maxLength": 160
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 160
            },
            "maxItems": 100
          },
          "category": {
            "type": "string",
            "maxLength": 100
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "maxItems": 50
          }
        },
        "required": [
          "name",
          "instructions"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.create",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_update_agent",
      "title": "Update a platform agent (compatibility alias)",
      "description": "Update a platform agent. Compatibility alias for agw_agents_update.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "updates": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "agentId",
          "updates"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.update",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_delete_agent",
      "title": "Archive a platform agent (compatibility alias)",
      "description": "Archive a platform agent. Compatibility alias for agw_agents_delete.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.delete",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_add_teammate",
      "title": "Add a same-organization teammate agent (compatibility alias)",
      "description": "Add a same-organization teammate agent. Compatibility alias for agw_agents_add_teammate.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "teammateAgentId": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "teammateAgentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agents.addTeammate",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_list_memories",
      "title": "List agent memories (compatibility alias)",
      "description": "List agent memories. Compatibility alias for agw_memories_list.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          }
        },
        "required": [
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "memories.list",
        "agw/scope": "agents:read",
        "agw/safety": "read",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_add_memory",
      "title": "Create an agent memory (compatibility alias)",
      "description": "Create an agent memory. Compatibility alias for agw_memories_create.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "text"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "memories.create",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_update_memory",
      "title": "Update an agent memory (compatibility alias)",
      "description": "Update an agent memory. Compatibility alias for agw_memories_update.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "memoryId": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "memoryId",
          "text"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "memories.update",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_remove_memory",
      "title": "Delete an agent memory (compatibility alias)",
      "description": "Delete an agent memory. Compatibility alias for agw_memories_delete.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "memoryId": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "memoryId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "memories.delete",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_list_scheduled_jobs",
      "title": "List platform scheduled jobs (compatibility alias)",
      "description": "List platform scheduled jobs. Compatibility alias for agw_jobs_list.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "jobs.list",
        "agw/scope": "jobs:read",
        "agw/safety": "read",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_create_scheduled_job",
      "title": "Create a platform scheduled job (compatibility alias)",
      "description": "Create a platform scheduled job. Compatibility alias for agw_jobs_create.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "triggerType": {
            "type": "string",
            "enum": [
              "cron",
              "composio_trigger"
            ]
          },
          "cronExpression": {
            "type": "string",
            "maxLength": 120
          },
          "composioTriggerSlug": {
            "type": "string",
            "maxLength": 200
          },
          "composioTriggerConfig": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": true
          },
          "promptTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "agentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "pattern": "^[^/\\s]+$"
          },
          "variables": {
            "type": "object",
            "properties": {},
            "required": [],
            "additionalProperties": {
              "type": "string",
              "maxLength": 20000
            }
          },
          "timezone": {
            "type": "string",
            "maxLength": 100
          },
          "active": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "dryRun": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "promptTemplateId",
          "agentId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "jobs.create",
        "agw/scope": "jobs:write",
        "agw/safety": "write",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_update_scheduled_job",
      "title": "Update a platform scheduled job (compatibility alias)",
      "description": "Update a platform scheduled job. Compatibility alias for agw_jobs_update.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string"
          },
          "updates": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "jobId",
          "updates"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "jobs.update",
        "agw/scope": "jobs:write",
        "agw/safety": "write",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_delete_scheduled_job",
      "title": "Delete a platform scheduled job (compatibility alias)",
      "description": "Delete a platform scheduled job. Compatibility alias for agw_jobs_delete.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string"
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "jobs.delete",
        "agw/scope": "jobs:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_list_prompt_templates",
      "title": "List prompt templates (compatibility alias)",
      "description": "List prompt templates. Compatibility alias for agw_prompts_list.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "prompts.list",
        "agw/scope": "prompts:read",
        "agw/safety": "read",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_get_prompt_template",
      "title": "Get a prompt template (compatibility alias)",
      "description": "Get a prompt template. Compatibility alias for agw_prompts_get.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "promptTemplateId": {
            "type": "string"
          }
        },
        "required": [
          "promptTemplateId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "prompts.get",
        "agw/scope": "prompts:read",
        "agw/safety": "read",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_create_prompt_template",
      "title": "Create a prompt template (compatibility alias)",
      "description": "Create a prompt template. Compatibility alias for agw_prompts_create.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160
          },
          "content": {
            "type": "string",
            "minLength": 1,
            "maxLength": 131072
          },
          "description": {
            "type": "string",
            "maxLength": 4000
          },
          "isCustomTemplate": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "content"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "prompts.create",
        "agw/scope": "prompts:write",
        "agw/safety": "write",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_update_system_prompt",
      "title": "Update the organization system agent instructions (compatibility alias)",
      "description": "Update the organization system agent instructions. Compatibility alias for agw_system_agent_update.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "newInstructions": {
            "type": "string"
          }
        },
        "required": [
          "newInstructions"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "systemAgent.update",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": true,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_test_template_on_agent",
      "title": "Test a prompt template on a platform agent (compatibility alias)",
      "description": "Test a prompt template on a platform agent. Compatibility alias for agw_prompts_test.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "promptTemplateId": {
            "type": "string"
          },
          "variables": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "promptTemplateId"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "_meta": {
        "agw/operationId": "prompts.test",
        "agw/scope": "agents:execute",
        "agw/safety": "execute",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_list_available_tools",
      "title": "List available tools (compatibility alias)",
      "description": "List available tools. Compatibility alias for agw_tools_list.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "tools.list",
        "agw/scope": "tools:read",
        "agw/safety": "read",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_add_tool",
      "title": "Assign a tool to an agent (compatibility alias)",
      "description": "Assign a tool to an agent. Compatibility alias for agw_tools_assign.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "toolName": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "toolName"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "tools.assign",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_remove_tool",
      "title": "Remove a tool from an agent (compatibility alias)",
      "description": "Remove a tool from an agent. Compatibility alias for agw_tools_remove.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "toolName": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "toolName"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "tools.remove",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_add_mcp_server",
      "title": "Add a third-party MCP server to an agent (compatibility alias)",
      "description": "Add a third-party MCP server to an agent. Compatibility alias for agw_agent_mcp_add.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "label",
          "url"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agentMcp.add",
        "agw/scope": "agents:write",
        "agw/safety": "write",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    },
    {
      "name": "agw_remove_mcp_server",
      "title": "Remove a third-party MCP server from an agent (compatibility alias)",
      "description": "Remove a third-party MCP server from an agent. Compatibility alias for agw_agent_mcp_remove.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string"
          },
          "serverUrl": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "serverUrl"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "_meta": {
        "agw/operationId": "agentMcp.remove",
        "agw/scope": "agents:write",
        "agw/safety": "destructive",
        "agw/ownerOnly": false,
        "agw/legacyAlias": true
      }
    }
  ]
}