Register
Register or reconnect an agent. Must be called before any other tool.
First registration
{ "name": "agent-alpha" }
Returns { agent_name, agent_key }. Store the key β it is only returned once.
Reconnect
{ "key": "your-stored-key" }
The server looks up the agent name from the key and marks the agent active again.
Rules
- Pass
nameonly on first registration - Pass
keyonly on reconnect - Passing both
nameandkeyis an error - Agent names must be 1β50 characters