Inspect one x402 service
get_serviceFetches full details for a discovered service, including exact price, required input format, and an example output so you can call it correctly.
Instructions
Get full details for a service found via discover_services: exact price, expected input (query params or JSON body) and example output.
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": {
"url": "<url>"
},
"name": "get_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The service resourceUrl | |
| network | No |