execute_activity
Runs a standalone Temporal activity on a specified task queue and waits for its result, letting you execute activity logic directly by type and arguments.
Instructions
Execute a standalone Temporal activity and wait for result
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": {
"activity": "<activity>",
"activity_id": "<activity_id>",
"task_queue": "<task_queue>"
},
"name": "execute_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments to pass to the activity | |
| activity | Yes | Activity type name to execute | |
| namespace | No | Temporal namespace for this operation; omit to use the server default | |
| task_queue | Yes | Task queue for this activity | |
| activity_id | Yes | Unique identifier for the activity execution | |
| start_to_close_timeout_seconds | No | Activity start-to-close timeout in seconds |