List or change your service
phlece_providerList a paid service (list), change it (update) or take it down (remove), signed by the provider's wallet. Call once without signature to get the exact message to sign, then again with the same fields plus issued and signature. Signing sends nothing. Phlece then checks the endpoint about every 30 minutes and counts USDC paid to payTo on Arc.
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": {
"action": "<action>",
"wallet": "<wallet>"
},
"name": "phlece_provider"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | list / update: the service name. | |
| tags | No | Short topic tags such as market-data or translation. | |
| payTo | No | list / update: the wallet that receives payment (the x402 offer's payTo). | |
| terms | No | list / update: what the buyer gets, limits, refunds, data use. | |
| action | Yes | ||
| issued | No | Second call only: the issued time returned by the first call. | |
| method | No | Default GET. | |
| wallet | Yes | The provider's wallet, which signs (0x address). | |
| agentId | No | The provider's ERC-8004 agent id on Arc, if any (checked against the wallet). | |
| listing | No | update / remove: the listing id. | |
| endpoint | No | list / update: the https URL agents call. It must answer 402 Payment Required with an x402 offer on Arc (eip155:5042, USDC) when called without payment. | |
| priceUsdc | No | list / update: price per call in USDC (decimal string). | |
| signature | No | Second call only: the wallet's signature of the returned message. | |
| description | No | list / update: what one call returns. |