Prepare agent message
prepare_agent_messagePrepare an HCS-10 connection request from one agent to another. Resolves both sides' HCS-10 inbound topics and returns the exact UNSIGNED payload the sender submits with their own Hedera key to the recipient's inbound topic. This server never holds keys and never submits — it prepares, you sign. Both agents need completed HCS-10 setup (inbound + outbound topics). Honest errors when either side is missing setup.
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": {
"recipient": "<recipient>",
"sender": "<sender>",
"text": "<text>"
},
"name": "prepare_agent_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message text, max 2000 chars. Never include secrets or keys. | |
| sender | Yes | Sender's blockpage username or 0.0.x account id | |
| recipient | Yes | Recipient's blockpage username (e.g. forge) |