functiongraph__CreateCallbackWorkflow
Create a FunctionGraph workflow callback to report execution success or failure, passing the workflow ID, project ID, result status, and output.
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": {
"output": "<output>",
"project_id": "<project_id>",
"result": "<result>",
"workflow_id": "<workflow_id>"
},
"name": "functiongraph__CreateCallbackWorkflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | 错误信息 | |
| output | Yes | 工作流的执行结果,JSON格式,仅在status为success时有值 | |
| result | Yes | 执行结果 | |
| project_id | Yes | 租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。 | |
| workflow_id | Yes | 函数工作流ID |