Preview an Agent Identity registration (no funds move)
preview_agent_identityPreview agent identity registration before it runs to show the identity PDA, registration status, paying wallet, cost, and exact document that would be written without broadcasting anything.
Instructions
Preview register_agent_identity before it runs: the identity PDA, whether the asset is already registered, the paying wallet, the cost, and the exact registration document that would be written. Broadcasts nothing. Show it to the user, get a clear yes, then call register_agent_identity with the same arguments, the returned preview_id and confirm_spend: true. Use this before register_agent_identity every time, so the person sees the cost and the document before any SOL moves.
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": {
"asset": "<asset>",
"name": "<name>"
},
"name": "preview_agent_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Agent name for the registration document. | |
| asset | Yes | The Core asset address to register. | |
| image | No | Thumbnail image URL. | |
| active | No | Registration active flag. Default true. | |
| secret | No | Per-call signing key. Overrides SOLANA_SECRET_KEY. | |
| network | No | Cluster. Defaults to the configured network. | |
| services | No | Services the agent offers. | |
| model_url | No | 3D model URL (GLB), written as model.uri. | |
| collection | No | The collection address, required for collection-bound assets. | |
| description | No | Agent description. | |
| x402_support | No | Advertise x402 payment support. Default false. | |
| registrations | No | External registry entries. Defaults to the chain registry entry. | |
| supported_trust | No | Default ['reputation']. | |
| registration_uri | No | Full override for the registration URI (https or data:). | |
| threews_agent_id | No | three.ws agent UUID for the Genesis-exact three.ws registration entry. |