query_workflow
Retrieve the current state of a running Temporal workflow by executing a named query with optional JSON arguments.
Instructions
Query a running workflow for its current state
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments for the query (as JSON object) | |
| namespace | No | Temporal namespace for this operation; omit to use the server default | |
| query_name | Yes | The name of the query to execute | |
| workflow_id | Yes | The workflow execution ID to query |