Report your own instructions and tools
declare_my_setupTell Rithmo what you are actually instructed to do and which tools and knowledge you have in your own platform, so your page in Rithmo shows you as you are and flags when that changes. Send your instructions exactly as you were given them (a Claude Code agent: your agent file's body, word for word): the complete text, every line, never summarized, shortened or reworded, however long. The answer gives the characters Rithmo recorded and how many secrets it removed (redactions); if it recorded fewer characters and removed none, send them again in full. Never send credentials, tokens or secrets. Call it at the start of every run, with agent_key; unchanged reports are cheap. If Rithmo has an instructions file for you, send only your tools (no instructions), every run. If Rithmo has no instructions file for you, this report is required: check_premises holds you when you have not reported in the last 15 minutes, or when your instructions differ from the ones your owner confirmed (until they accept the change). Otherwise a person must first allow your agent to report. A host adapter sends protocol "rithmo.host_baseline.v1" with host_agent, runtime, tools_mode, permissions, mcp_connections, resources and hooks; anything it cannot read is sent as "unknown" (or left out), never as empty. It grants nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_format": "<source_format>"
},
"name": "declare_my_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hooks | No | v1: the hooks configured around you, by event and a fingerprint of the command -- never the command itself. | |
| scope | No | v1: omitted for the agent's global baseline; a project for what one project adds (its own revisions, never merged into the global one). | |
| title | No | Your name in your platform. | |
| tools | No | Tools you have (access "has") or are denied (access "denied") in your platform, other than Rithmo itself. Names and descriptions only. | |
| runtime | No | ||
| protocol | No | Set by a host adapter reporting the full baseline. | |
| agent_key | No | Which of your agents this is (from list_my_agents); optional when your connection serves one. | |
| knowledge | No | Files, folders, sources or MCP servers (by name) you draw on. | |
| resources | No | ||
| host_agent | No | v1: the agent as its host knows it (e.g. a Claude Code agent's name). Counts only once a person approves it. | |
| tools_mode | No | v1: listed = you have exactly the "has" tools; inherits_all = your definition names none (you have every session tool except the denied ones); unknown. | |
| permissions | No | ||
| host_version | No | ||
| instructions | No | Your instructions, exactly as given to you: the complete text, never summarized or shortened. | |
| source_format | Yes | What the instructions are: a Claude Code agent file, an OpenAI agent definition, or plain text. | |
| mcp_connections | No | v1: the MCP servers the host has configured; agent_usable says whether THIS agent can call each one. complete: false when the host cannot list every server. |