Skip to Content
Huggler Docs

Agent tools

Built-in MCP tools, caller scope, and request identity.

When the host enables agent tools, supported providers receive a loopback Streamable HTTP MCP connection at /mcp. The connection is scoped to an active caller run. The host can revoke the connection or answer provider requests using a binding that exposes those controls. Collaboration APIs by language

Tool catalog

Built-in keyOperation
orchestrator_capabilitiesList the names exposed or available through deferred discovery.
tool_searchFind permitted tools by name and expose matching schemas to the current run.
send_to_userDeliver an interim notice to the host user in the caller’s thread.
request_secretRequest a secret from the host. Poll with the same key and label to receive the decision and any one-use reference. Requires secret_ttl_seconds.
pending_requestList, read, or answer eligible provider questions. Answers use the supplied question IDs.
create_threadsCreate 1–20 independent peers in the caller’s project and checkout. Retry with the same key and ordered entries.
thread_listList other threads in the caller’s project.
thread_sendSend to an idle or busy peer, or create a follow-up task on an owned child after settlement.
thread_interruptInterrupt a specific authorized run. Queued work can proceed. A settled target returns its status.
delegate_taskCreate an owned child. Select shared or worktree isolation, a target instance, and async or bounded wait mode.
task_statusRead an owned task and acknowledge a terminal result.
task_cancelStop current and queued work in an owned child’s subtree. Completed results remain readable.

Use the tool schemas exposed by MCP for arguments. Fields such as threadId, runId, and clientRequestId are camelCase. Retain a stable clientRequestId for retries of the same write and use a new one for a new intent.

Scope and policy

The host can limit which built-in tools a run can use and which are exposed through discovery. Policies and stored discovery state use the built-in tool key even when a host changes its advertised name.

When enabled, secret requests can produce a one-use reference scoped to the owning project. Secret bytes live in process memory. Host policy in Rust

On this page