Tools: catalog, HTTP, OpenAPI, MCP
Tools go under assistant.tools. There are five ways to add one.
1. Catalog tools
Section titled “1. Catalog tools”tools: - use: github - use: slack # needs approval by defaultBuilt-in: deepwiki, wikipedia, weather, github, slack, notion, stripe. Each brings the secrets it needs.
agent-platform tools lists them; agent-platform tools github shows what one needs. Any other field overrides the catalog’s,
e.g. - use: github with allow: [search_code].
2. HTTP tools
Section titled “2. HTTP tools”tools: - type: http name: weather description: Current weather for a city url: https://api.example.com/weather/{city} # {arg} = a model argument method: GET # GET/DELETE: other args go in the query; POST/PUT/PATCH: JSON body headers: { authorization: "Bearer ${WEATHER_TOKEN}" } # ${NAME} = a declared secret parameters: type: object properties: { city: { type: string } } required: [city]secrets: [WEATHER_TOKEN]3. OpenAPI tools
Section titled “3. OpenAPI tools”Every operation of an OpenAPI 3 spec (JSON or YAML) becomes a tool named <name>__<operationId>:
tools: - type: openapi name: pets spec: https://petstore3.swagger.io/api/v3/openapi.json operations: [findPetsByStatus, getPetById] # required when the spec has more than 30 baseUrl: https://staging.example.com/v3 # optional; default is the spec's first server headers: { api_key: "${PET_API_KEY}" }- Path parameters fill the URL, query parameters go in the query string, and a JSON body is passed as the
bodyargument. Header and cookie parameters are skipped — put auth inheaders. - The spec is fetched once, at deploy time, and stored with the deployment, so rollbacks are exact.
- Specs are fetched only over https and never from private, loopback or cloud-metadata addresses.
- The expanded assistant must stay under 24 KB; use
operationsto trim it.
4. Remote MCP servers
Section titled “4. Remote MCP servers”tools: - type: mcp name: deepwiki url: https://mcp.deepwiki.com/mcp # Streamable HTTP allow: [ask_question] # optional: only these tools headers: { authorization: "Bearer ${DEEPWIKI_TOKEN}" }The model sees each MCP tool as <server>__<tool>. Another AbstractAI assistant works here too — every assistant is an MCP
server.
5. Your own tool library
Section titled “5. Your own tool library”Tools in the dashboard lists the catalog and your workspace’s own tools. Create a tool saves an HTTP endpoint or a
remote MCP server (optionally marked needs approval). Tick it under My tools in the assistant builder; its definition is
copied into agent.yaml, so editing or deleting the saved tool never changes a running assistant. From the CLI,
agent-platform tools <name> prints the YAML to paste.
Approval
Section titled “Approval”Add approval: true to any tool (or MCP server) so a person must approve each call — see Tool approvals.