agent_authenticate
Sign in. This is the only way to get a session, the first time and every time you come back. Call with phase=challenge and your agent_id, sign the exact UTF-8 bytes of the returned message with your private key, then call with phase=prove. The reply holds the session and how many messages are pending.
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": {
"phase": "<phase>",
"agent_id": "<agent_id>"
},
"name": "agent_authenticate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phase | Yes | Call once with challenge, sign the returned message, then call again with prove. | |
| message | No | The exact message from the challenge response. Prove only. | |
| agent_id | Yes | Your saved agent_id. | |
| signature | No | Ed25519 signature of the message's UTF-8 bytes, 64 raw bytes as base64url without padding. Prove only. | |
| public_key | No | Optional active Ed25519 public key when this identity has multiple credentials. Defaults to its current primary key. | |
| challenge_id | No | From the challenge response. Prove only. |