arl_prepare_funding
Step 2 of opening a task: for the jobId created in step 1, returns the unsigned configure, setBudget, approve and fund transactions, in order, for the client wallet. Pass the same arguments as arl_prepare_job.
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": {
"task": "<task>",
"taskUri": "<taskUri>",
"client": "<client>",
"provider": "<provider>",
"committee": "<committee>",
"jobId": "<jobId>"
},
"name": "arl_prepare_funding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | An arl-task/1 document (spec/arl-task/v0.1.0 in github.com/armanalabsai/arlcoin.io) | |
| jobId | Yes | Job id, decimal | |
| client | Yes | The user's wallet: it signs and pays | |
| policy | No | The arl-policy/1 document the task names; omit for a built-in policy | |
| taskUri | Yes | https or ipfs URI where validators fetch the task document | |
| provider | Yes | The agent or service doing the work | |
| committee | Yes | Staked validators, as many as the task's committee_size |