Skip to main content
SimpleFunctions has several tool catalogs. They are not interchangeable.
  • Use GET /api/contracts/tools for strict SDK and Agent SDK contract truth.
  • Use sf describe --all --json for the installed local CLI command manifest.
  • Use GET /api/tools for the broad hosted HTTP compatibility inventory.
  • Use MCP only as an adapter for MCP-compatible hosts.
/api/tools is not the SDK/Agent contract manifest. It can include broad compatibility names such as get_world_state; SDK and Agent SDK code should use canonical dotted names such as world.read from /api/contracts/tools.

Strict contract manifest

This is the canonical SDK/Agent tool universe. See Contract tools for schema version, access.anonymousAllowed, sideEffect, costEffect, Agent callability, SDK mapping, and replay metadata.

Local CLI catalog

For agents running on a user machine, the CLI manifest is the canonical local command surface. It reflects the installed version, local auth, local-only commands, command policy metadata, and JSON capability flags. It is not the SDK/Agent package contract. See Tool manifest.

HTTP tool catalog

Auth: none. Returns the broad hosted HTTP tool catalog used by remote integrations. Two tiers — public (no auth required) and authenticated (sf_live_...):
Each tool record has name, description, endpoint (when there is a 1:1 HTTP route), parameters, auth, returns, and an example URL. This is not a byte-for-byte mirror of sf describe --all --json, and it is not the strict SDK/Agent manifest. Use /api/tools for the broad remote HTTP compatibility surface. Use sf describe --all --json for the installed CLI command catalog and its command-level policy metadata. Use MCP tools reference only for the MCP adapter inventory and input schemas.

Skill catalog

Auth: none. Returns the bundled skill catalog. A skill is a reusable agent capability — a markdown bundle with a description, a trigger phrase, declared tools, and a prompt body. This endpoint is the network-side discovery view; user-authored skills live behind /api/skill*.
User-owned skills (create / fork / publish / run) live under /api/skill — see Skills.

Prompt context

Auth: required. Returns the SimpleFunctions prompt / runtime context for the current user — system prompt, active thesis hints, available tools, and recent activity, shaped for an agent that’s about to start a turn.

MCP adapter

Auth: none for tool discovery and public tools. Bearer sf_live_... to access authenticated tools (thesis, intents, portfolio, …). The MCP transport exposes SimpleFunctions tools to MCP-compatible clients (Claude Code, Cursor, Cline, …). Treat it as an adapter over the CLI/API product surface. See MCP server for client wire-up and MCP tools reference for the adapter tool list and input schemas. One-line client setup:

Voice — text-to-speech (TTS)

Auth: required (Authorization: Bearer sf_live_...). Body (JSON): Response: audio/mpeg binary stream (MP3). Errors

Voice — speech-to-text (STT)

Auth: required. Body: multipart/form-data with field audio (or file). Max 10 MB. Response 200
Errors
The sf agent voice mode uses these endpoints internally; you only need to call them directly when wiring SimpleFunctions tools into another voice agent.

See also

Tool manifest

Local discovery via sf describe --all --json.

Skills

User-owned skill CRUD, fork, publish.

MCP server

Adapter for Claude Code, Cursor, Cline.

MCP tools reference

MCP adapter inventory and input schemas.