run_flyte_task
Execute a Flyte task by providing the Python module path, task name, and optional inputs. Runs the task on your configured Flyte cluster.
Instructions
Execute a task on the configured Flyte cluster. Requires flyte-sdk installed.
module_path: absolute path to the .py file defining the task task_name: Python name of the task function within that file inputs: dict of input kwargs
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": {
"module_path": "<module_path>",
"task_name": "<task_name>"
},
"name": "run_flyte_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | ||
| task_name | Yes | ||
| module_path | Yes |