Get one task resource
get_taskFetch a Redfish task using its task_id or URI. If neither is provided, returns the first task member, along with the task payload and resolved URI.
Instructions
Fetch a task by URI or task_id; if omitted, the first task member is returned. Returns: Object with a single task payload under task and the resolved task URI. Example: get_task(task_id='Task42')
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": "get_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | Explicit task resource URI to fetch. | |
| task_id | No | Task identifier appended to /redfish/v1/TaskService/Tasks/{task_id}. | |
| endpoint | No | Configured endpoint name. Omit to use the default endpoint. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||