agent_key_pin
Pin another agent's public keys to trust on first use (TOFU). Detects key changes to warn of potential man-in-the-middle attacks.
Instructions
Pin another agent's public keys (TOFU — Trust On First Use). Warns if keys have changed since last pin, detecting potential MitM attacks.
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": {
"api_key": "<api_key>",
"did": "<did>"
},
"name": "agent_key_pin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your agent API key | |
| did | Yes | Agent DID to pin keys for |