arl_prepare_job
Step 1 of opening a task as a verified job: validates the task against its policy and returns the unsigned createJob transaction for the user's own wallet (the client) to sign and send on Base Mainnet. Read the jobId from the JobCreated event of its receipt, then call arl_prepare_funding.
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>"
},
"name": "arl_prepare_job"
}
}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) | |
| 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 |