Update SAP Agent
sap_update_agentUpdate an SAP agent's configuration including name, description, capabilities, pricing, protocols, and metadata after registration.
Instructions
Local-signer-only: update the connected wallet SAP agent using SDK AgentModule.update. Hosted accountless SAP MCP rejects this direct write before x402 payment; hosted users should call sap_payments_update_agent from the local sap_payments bridge. SAP MCP context: Use this after sap_register_agent to refresh name, description, capabilities, pricing, supported protocols, x402 endpoint, or metadataUri. For NFT-backed identity changes, update the Metaplex asset first when needed, then point the SAP agent metadataUri at the current metadata document.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sap_update_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional replacement display name. Omit to keep the current name. | |
| agentId | No | Optional replacement stable agent id. Omit to keep current agentId. | |
| pricing | No | Optional full replacement pricing tier list. Omit to keep current pricing. | |
| agentUri | No | Optional replacement public URI for agent metadata/profile. Use this to update pictures after uploading metadata to IPFS, Arweave, Kommodo, or HTTPS. | |
| protocols | No | Optional full replacement protocol list. Omit to keep current protocols. | |
| description | No | Optional replacement description. Omit to keep the current description. | |
| metadataUri | No | Alias for agentUri. Use a public metadata JSON URI; never use a desktop file path. | |
| capabilities | No | Optional full replacement capability list. Omit to keep current capabilities; do not send only the new item unless replacing the whole list is intended. | |
| x402Endpoint | No | Optional replacement x402 discovery/payment endpoint. Omit to keep current endpoint. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |