Save Labor Pool
save_labor_poolAdd a qualified labor pool, or edit one, as the labor resources screen does: its name and the workers qualified in it (at most 100). Plans draw crews from pools. Omit pool to add one (name required); name an existing pool by id or name (get_labor_resources) to rename it or change its members. Pass workers for the complete member list, or addWorkers and removeWorkers to adjust the current one; workers by id or full name. Archived workers can't be added. Admin; operator credentials only. Preview first; the in-app assistant gets a confirm card.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_labor_pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The pool's name, at most 120 characters; required for a new pool. | |
| pool | No | The pool to edit, by id or name; omit to add a new pool. | |
| preview | No | Step 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call. | |
| workers | No | The complete list of qualified workers, by id or full name. | |
| addWorkers | No | Workers to add to the current members, by id or full name. | |
| removeWorkers | No | Workers to remove from the current members, by id or full name. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| poolId | No | ||
| preview | No | ||
| request | No | ||
| committed | No | ||
| expiresAt | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No |