functiongraph__InvokeFunction
Synchronously invokes a FunctionGraph function and waits for its execution result, enabling callers to retrieve the function's response immediately.
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": {
"function_urn": "<function_urn>",
"project_id": "<project_id>"
},
"name": "functiongraph__InvokeFunction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。 | |
| function_urn | Yes | 函数的URN,详细解释见FunctionGraph函数模型的描述。 |