Skip to content
SupportLogin
Tools

Tools

List host-side tools
tools.list() -> ToolListResponse
GET/api/v1/tools
ModelsExpand Collapse
class ToolListResponse: …
object: Literal["list"]
data: List[Data]
server_label: str

The server_label to reference this connector by in a request, e.g. { "type": "mcp", "server_label": "slack" }.

type: Literal["mcp"]

Responses API tool type to send in the tools array.

name: str
description: str
auth: Literal["none", "platform", "caller", "connection"]

Where the outbound credential comes from. connection tools use a connection you authorise once, or an authorization passed on the request; caller tools always take it from the request.

One of the following:
"none"
"platform"
"caller"
"connection"
connect: Optional[Literal["oauth", "secret"]]

How a connection tool is connected: oauth through the browser flow at connect_path, secret by storing one with POST /connections. Null for tools that use no stored connection.

One of the following:
"oauth"
"secret"
connect_path: Optional[str]

For an oauth tool, the GET path (under the API prefix) that starts its browser connect flow — usually /oauth/{server_label}/connect; Google Drive uses /oauth/google/connect, the shared “Connect Google”. Null for tools not connected through OAuth.

logo_url: Optional[str]

URL of the connector’s logo, for showing it in a UI. Null for tools without one.

mode: Literal["hosted_proxy", "remote_mcp"]

How the tool connects. hosted_proxy: we run the MCP server against the provider API. remote_mcp: we connect as a client to the vendor-hosted MCP server.

One of the following:
"hosted_proxy"
"remote_mcp"
default_require_approval: Literal["always", "never"]

Approval posture applied when the request’s tool entry does not set require_approval. Defaults to never; callers may require approval for all tools or specific write tools.

One of the following:
"always"
"never"
required_scope: str

Scope a scoped API key must hold to use this tool.

available: bool

Whether this caller can use the tool right now.

unavailable_reason: Optional[Literal["not_implemented", "disabled", "requires_plan", "requires_scope"]]

Why the tool is unavailable. Returned rather than omitting the tool, so a caller can tell “not on your plan” from “does not exist”.

One of the following:
"not_implemented"
"disabled"
"requires_plan"
"requires_scope"