Update Workspace Job
update_workspace_jobUpdate an existing workspace job by modifying its name and node inclusion/exclusion selectors.
Instructions
Update an existing workspace job.
Args:
workspaceID (string, required): The workspace ID
jobID (string, required): The job ID
name (string, required): Updated job name
includeSelector (string, required): Node selector. Format: '{ location: LOC name: NAME } OR { location: LOC name: NAME }'
excludeSelector (string, required): Node exclusion selector. Same format as includeSelector
Returns: Updated job object.
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": {
"workspaceID": "<workspaceID>",
"jobID": "<jobID>",
"name": "<name>",
"includeSelector": "<includeSelector>",
"excludeSelector": "<excludeSelector>"
},
"name": "update_workspace_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Updated name for the job | |
| jobID | Yes | The job ID to update | |
| workspaceID | Yes | The workspace ID | |
| excludeSelector | Yes | Node exclusion selector string. Same format as includeSelector. Use empty string to exclude nothing. | |
| includeSelector | Yes | Node selector string. Format: '{ location: LOC name: NAME } OR { location: LOC name: NAME }'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| message | No |