sideEffect, costEffect, SDK mappings, Agent
callability, trace events, and replay policy.
This endpoint is contract infrastructure and is now the canonical truth for the
published SDK and Agent SDK packages.
Contract versus inventory
| Surface | Role |
|---|---|
/api/contracts/tools | Strict SDK/Agent contract truth |
/api/tools | Broad hosted compatibility inventory |
sf describe --all --json | Local installed CLI command manifest |
| MCP tools | Adapter inventory for MCP hosts |
get_world_state and get_regime_history are not SDK/Agent
canonical names. SDK and Agent SDK code should use canonical dotted names such
as world.read.
Example response
Access and cost fields
access.anonymousAllowed is an explicit allowlist. A tool is not anonymous just
because authRequired is false.
The SDK and Agent SDK use these fields differently:
- SDK no-key bootstrap is limited to manifest inspection and explicitly allowlisted free reads.
- Agent SDK live execution requires an API-keyed SDK client.
costEffectdescribes cost/quota exposure such asapi_cost,search_cost,venue_request_cost, orllm_cost.sideEffectdescribes product semantics such asnone,user_write,runtime,paper_trade, orlive_trade.
llm_cost is a costEffect, not a sideEffect.
Implemented mode
By default, the manifest returns implemented contract tools only. Deferred, deprecated, hallucination-risk, and forbidden surfaces are not active by default. Current implemented mode includes active strict contract tools for reads, candle/K-line data, thesis writes, and Kalshi or Polymarket execution/intent management. Live execution tools are not hard-forbidden; they are exposed only when the caller opts intolive_trade side effects, cost ceilings, auth, and trade
guardrails.
Use review modes only for design tooling. Do not treat deferred entries as
callable tools.