get_zone_operation
Get details of a zone operation, including its id, name, status, creation timestamp, error, warning, HTTP error message and HTTP error status code. Requires project, zone, and operation name as input.
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": {
"project": "<project>",
"zone": "<zone>",
"name": "<name>"
},
"name": "get_zone_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The operation name. | |
| zone | Yes | Required. The zone of the operation. | |
| project | Yes | Required. Project ID for this request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The unique identifier for the operation. | |
| name | No | Name of the operation. | |
| error | No | Errors encountered during the operation execution. | |
| status | No | The status of the operation. | |
| warnings | No | Warnings encountered during the operation execution. | |
| createTime | No | Creation timestamp of the operation. | |
| httpErrorMessage | No | If the operation fails, this field contains the HTTP error message that corresponds to the HTTP error code generated for the audit log. | |
| httpErrorStatusCode | No | If the operation fails, this field contains the HTTP error status code that corresponds to the HTTP error message generated for the audit log. |