spawn_agent
Onboard a new AI agent in one step: Solana and EVM wallets it controls, $1.00 of Toolbooth credit, an ERC-8004 identity on Base, .toolbooth.eth, and MCP config. Pass the new agent's solanaAddress, evmAddress, apiKeyHash (hex SHA-256 of a fresh tb_live_ key you generated) and proofs: sign "toolbooth.io spawn_agent\nname:\nsolana:\nevm:\nkey:\nissued:" with the Solana key (Ed25519, base64 → solanaSig) and the EVM key (EIP-191 personal_sign, hex → evmSig). Or set generateKeys=true to receive new keys once in the result (discouraged: secrets pass through this conversation). Costs $2.00 USDC per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Agent name, 5-20 chars [a-z0-9-] → <name>.toolbooth.eth | |
| evmSig | No | ||
| endpoint | No | Optional https endpoint for the agent (e.g. its MCP server) | |
| issuedAt | No | ||
| solanaSig | No | ||
| apiKeyHash | No | Hex SHA-256 of the agent's new tb_live_ API key | |
| evmAddress | No | ||
| description | No | Public one-line description of the agent | |
| generateKeys | No | Have Toolbooth generate the keys and return them once (discouraged) | |
| solanaAddress | No |