functiongraph__StartWorkflowExecution
Starts an asynchronous FunctionGraph workflow execution for a given project and workflow ID, passing runtime input and optional headers.
Instructions
[FUNCTIONGRAPH] 以异步执行方式启动函数流
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": {
"input": "<input>",
"project_id": "<project_id>",
"workflow_id": "<workflow_id>"
},
"name": "functiongraph__StartWorkflowExecution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | 定义函数执行时的入参,支持使用JSONPATH进行映射,以及指定默认值 | |
| headers | No | 函数执行时需要的Header | |
| project_id | Yes | 项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。 | |
| workflow_id | Yes | 函数流定义ID |