taskmarket_prepare_delegation
Prepare a TaskMarket delegation command for external workers: convert work details into the exact create command and USDC escrow amount without moving funds.
Instructions
Turn a unit of work into a ready-to-run TaskMarket create command so the operator can escrow USDC and delegate it to external workers. Returns the exact CLI command and escrow amount; it does NOT move funds. Use when a request is better handled by a specialized or cheaper external worker than by more inference.
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": {
"description": "<description>",
"rewardUsdc": "<rewardUsdc>",
"durationHours": "<durationHours>"
},
"name": "taskmarket_prepare_delegation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | bounty | |
| rewardUsdc | Yes | USDC reward to escrow | |
| description | Yes | What the delegated worker must deliver | |
| durationHours | Yes | Hours until the task expires |