functiongraph__CreateEvent
Create a test event for a Huawei Cloud FunctionGraph function by supplying a base64-encoded JSON content, event name, function URN, and project ID to validate function behavior before deployment.
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": {
"content": "<content>",
"function_urn": "<function_urn>",
"name": "<name>",
"project_id": "<project_id>"
},
"name": "functiongraph__CreateEvent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 测试事件名称。只能由字母、数字、中划线和下划线组成,且必须以大写或小写字母开头 | |
| content | Yes | 测试事件content,为json字符串的base64编码 | |
| project_id | Yes | 租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。 | |
| function_urn | Yes | 函数的URN,详细解释见FunctionGraph函数模型的描述。 |