Rename a conversion event
onelence_update_event_definitionChanges a conversion event's display name or the event name the SDK sends. The new name replaces the old one, which is not kept. The preview needs event_definition_id. Two steps: call with the change to get a summary and a confirmation_id, show the summary to the user, and only after they agree call again with just confirmation_id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "onelence_update_event_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| event_name | No | ||
| confirmation_id | No | Only when applying: the confirmation_id from the preview, after the user agreed. | |
| event_definition_id | No | id from the event definitions list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||