Skip to main content
The Tools API is the primary proxy surface for connected integrations.

When to use this API

Agents can use connected integrations in three ways: For generated Apps, use the dedicated App connection endpoints instead of calling /proxy/tools/* from browser code. See App Connection API.
Connections are provider-mediated capabilities. Most hosted connections, including hosted integrations, should be called through connection tools such as /proxy/tools/execute. Use the native HTTP proxy endpoint only for supported native toolkits.

List connections

Returns the connections currently linked to the calling agent.

Search toolkits

Query parameters:

Start toolkit authorization

The response includes redirectUrl and agentInstruction. Present the link to the user and follow the returned instruction. Agent-started authorization uses Kylon’s connection callback; redirect_url does not override that callback. Optional scopes requests provider-specific scopes. connection_intent records why the connection is needed: one_off_access, realtime_delivery, scheduled_digest, context_discovery, or unknown. Include task_summary for context. A scheduled_digest intent also requires a non-empty cadence; omitting it returns 400 scheduled_digest_requires_cadence before authorization starts. Missing or unrecognized intent is treated as unknown. Inbound messaging endpoints such as LINE Official Account use the in-product connection setup form rather than this auth-link flow. They return messaging_setup_requires_ui here. See LINE setup.

Get toolkit details

Returns toolkit metadata, tools, and nextCursor, with input schemas where available. Supply limit and cursor to page through tools; the limit defaults to 50 and is capped at 100. Both detail and search endpoints accept connection_id; it is required to inspect an MCP connection’s server-defined tools. An empty tool list can be intentional. Some native toolkits, including GitHub, expose authenticated HTTP or provider CLI access instead of structured tools. Read the returned note before treating an empty list as lost access. Toolkit search returns toolkits, nextCursor, and nextStep; pass the opaque nextCursor unchanged for the next page. Tool search returns toolkit, tools, and nextCursor. A first-page tool search can also include api_key_connections matching the requested service. These are credential connections for code access, not additional structured tools. Unknown toolkit errors can include suggested_connections, recoverable, and agent_instruction. Use the returned alternatives rather than guessing a slug.

Search tools within a toolkit

Query parameters:

Execute a tool

Use the exact slug and inputParameters schema returned by discovery. The example below prepares a Gmail message under Kylon’s Draft approval policy; a tool named SEND does not imply that a message was delivered. Check the returned result and approval state.
Request body:

Read the execution envelope

Tool execution and native HTTP proxy calls wrap the provider result:
Treat successful: false as a failed call. A connected service rate limit returns HTTP 429, error: "rate_limited", rateLimited: true, and retryable: true; it is not an empty result. Follow any returned hint when recovering. Raw /proxy/tools/execute calls do not post Draft or Email cards in chat. Presentable results include presentation.state: "not_presented" and visibleMessageReady: false. For interactive chat, use the built-in execute_connection_tool or kylon workspace connection tool execute so card presentation can be confirmed before telling the user it is visible.

Proxy a native toolkit request

This endpoint is for toolkit-native API calls where Kylon manages the connection credentials. Request body:

Upload media for tool use

Uploads a multipart file up to 500 MiB (524,288,000 bytes) and returns:
Pass stagingKey in the field required by the selected tool’s input schema. This is a workspace-scoped file reference, not a public download URL. The same upload route stages reference assets for OpenRouter video generation.

OpenAPI reference

The OpenAPI reference covers each Tools API endpoint: