sap_register_agent
Registers a connected wallet as a SAP agent by defining its name, capabilities, pricing, and supported protocols, enabling monetized agent workflows.
Instructions
Register the connected wallet as a SAP agent using SDK AgentModule.register.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable name for the SAP agent | |
| agentId | No | Optional unique agent identifier string | |
| pricing | No | Array of pricing tier objects defining per-call costs, rate limits, and settlement terms | |
| agentUri | No | Optional URI to the agent's off-chain metadata or service endpoint | |
| protocols | No | Array of protocol identifiers the agent supports (e.g. "jupiter", "drift") | |
| description | No | Detailed description of the agent's purpose and capabilities | |
| metadataUri | No | Alias for agentUri — URI to off-chain agent metadata JSON | |
| capabilities | No | Array of capability objects or strings identifying what the agent can do (e.g. "jupiter:swap") | |
| x402Endpoint | No | Optional x402 payment endpoint URL for HTTP-based agent payments |