purchase_service
Purchase fixed-price services on the402.ai marketplace. Creates async jobs with payment from pre-funded balance, returning immediate results for data services or provider-fulfilled work for automated/human services.
Instructions
Purchase a fixed-price service on the402.ai. Creates an async job and conversation thread. Payment is deducted from your pre-funded balance. For data_api services, results are returned immediately. For automated/human services, the provider fulfills the work asynchronously. Requires API key.
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": {
"service_id": "<service_id>",
"brief": "<brief>"
},
"name": "purchase_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_id | Yes | The service ID to purchase | |
| brief | Yes | Description of what you need — must include all required fields defined in the service's input_schema |