aiworkhub_manager_workforce_upsert
Create or update one repository worker model with audited, bounded validation to keep workforce definitions accurate and policy-compliant.
Instructions
MANAGER WRITE: audited bounded upsert of one repository worker model.
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": {
"worker_id": "<worker_id>",
"adapter_id": "<adapter_id>",
"model": "<model>",
"provider": "<provider>",
"supports": "<supports>"
},
"name": "aiworkhub_manager_workforce_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model name, ^[A-Za-z0-9][A-Za-z0-9_.:/+-]{0,127}$. | |
| tools | No | Tool names the worker has, matched against a task's tool needs; default none. | |
| enabled | No | False keeps the worker in the catalog but disabled; default true. | |
| max_risk | No | Highest task risk tier the worker may take: low, medium, high or critical; default medium. | medium |
| provider | Yes | Provider name in the same format as worker_id; stored lowercased. | |
| supports | Yes | Non-empty list of task kinds the worker can take: mechanical, code, research, linguistic, review. | |
| worker_id | Yes | Id of the worker to create or update, ^[A-Za-z0-9][A-Za-z0-9_.:-]{0,127}$; an existing id is updated in place, at most 64 workers exist. | |
| adapter_id | Yes | Adapter that runs the worker; it must be one that repository policy allows. | |
| quality_ceiling | No | Highest quality floor the worker can meet, a float in [0, 1]; tasks demanding more exclude it; default 1.0. | |
| max_context_tokens | No | Largest context in tokens the worker can take, 0-10,000,000; tasks needing more exclude it; default 0. | |
| manager_score_adjustment | No | Manager adjustment added to the worker's routing success score, in percentage points from -20 to 20; default 0.0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||