Desktop reference · Local API

Tools and extensions

The agent’s tools, and the hooks, MCP servers, plugins, skills and forged tools of a project, with their trust. 12 operations of the TALOS Desktop local API.

Reference for TALOS Desktop 0.2.4 generated from the source of the release · released

The agent’s tools, and the hooks, MCP servers, plugins, skills and forged tools of a project, with their trust. Paths are relative to /api/v1.

The tools an agent is offered before any session exists (per-tool permissions are null until a session chooses them).

Answers The JSON envelope.

Errors2
CodeStatusMeaning
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.
REPORT_UNAVAILABLE 404 The report or service asked for is not available on this server yet.

Any operation can also answer the common errors.

The hooks the session’s project declares, with their real trust state.

Path

sessionId
The session.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

The tools actually offered to the model in this session, with their permissions.

Path

sessionId
The session.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

The MCP servers the session’s project declares, with their real trust state.

Path

sessionId
The session.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

The skills the session’s project declares.

Path

sessionId
The session.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

The plugins the session’s project declares, with their real trust state (a plugin runs code; a skill does not).

Path

sessionId
The session.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

The forged tools installed (tools the agent wrote and you enabled), global to you.

Path

sessionId
The session.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

POST /sessions/{sessionId}/hooks/{hookId}/trust

Section titled “POST /sessions/{sessionId}/hooks/{hookId}/trust”

Trust a hook of the project: the only way it becomes able to run. The server reads its fingerprint from disk; nothing comes from the client.

Path

sessionId
The session.
hookId
The hook.

Body

None: the body is empty.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

POST /sessions/{sessionId}/tool-forge/{toolId}/enable

Section titled “POST /sessions/{sessionId}/tool-forge/{toolId}/enable”

Enable or disable a forged tool.

Path

sessionId
The session.
toolId
The forged tool.

Body

abilitatorequired
true or false.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

POST /sessions/{sessionId}/mcp/{serverId}/trust

Section titled “POST /sessions/{sessionId}/mcp/{serverId}/trust”

Trust an MCP server of the project (its fingerprint is read from disk, as for hooks).

Path

sessionId
The session.
serverId
The MCP server.

Body

None: the body is empty.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

POST /sessions/{sessionId}/mcp/{serverId}/test

Section titled “POST /sessions/{sessionId}/mcp/{serverId}/test”

Start a trusted MCP server of the session’s project now, to see whether it works (the body must be empty).

Answers { esito, attrezzi, ms }: whether it started, how many tools it offers and how long it took, and why when it did not start. The result enters the session’s events like any start of the server (talos.mcp-avvio). A server that is not trusted is refused.

Path

sessionId
The session.
serverId
The MCP server.

Body

Answers The JSON envelope.

Errors3
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
PAYLOAD_LIMIT 413 The body is larger than the server accepts: shorten it, or put the text in a file and attach it.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

POST /sessions/{sessionId}/plugins/{pluginId}/trust

Section titled “POST /sessions/{sessionId}/plugins/{pluginId}/trust”

Trust a plugin of the project (its fingerprint is read from disk, as for hooks).

Path

sessionId
The session.
pluginId
The plugin.

Body

None: the body is empty.

Answers The JSON envelope.

Errors2
CodeStatusMeaning
NOT_FOUND 404 Nothing answers at this address, or the resource it names does not exist.
QUERY_INVALID 400 The request is not valid: a query parameter or a body field is missing, unknown or malformed.

Any operation can also answer the common errors.

Type to search the guides.

    Ask the docs

    Ask in plain words. A small model finds the passage of the guides that answers it, on this device: the question never leaves it.

    all-MiniLM-L6-v2 (Apache-2.0) and the ONNX runtime, served by talos-code.com and kept in your browser’s cache. It finds passages; it does not write answers.

    Loading the model