create_job
Sets up a crypto escrow job for services via the ServiceEscrow contract. Specify token, amount (0 for negotiable), deadline, and description to secure payment.
Instructions
Create a service-for-crypto escrow job via the ServiceEscrow smart contract (ERC-8183). Set amount=0 for negotiable jobs. 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": {
"client_agent_id": "<client_agent_id>",
"api_key": "<api_key>",
"description": "<description>",
"amount": "<amount>",
"deadline": "<deadline>"
},
"name": "create_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Token symbol (defaults to USDC) | |
| amount | Yes | Payment amount in tokens (0 for negotiable) | |
| api_key | Yes | Your api_key from register_agent | |
| deadline | Yes | ISO 8601 deadline datetime string | |
| description | Yes | Job description | |
| client_agent_id | Yes | UUID of the agent creating the job |