Create a webhook endpoint
tarkle_create_webhookAdd a webhook endpoint: from then on Tarkle sends the named events for this workspace to the address, signed with a secret. events is required: name each one. Asks for confirmation first: the first call creates nothing; show the user the host and the events, then call again with the same inputs and the confirmationCode from the first answer. The signing secret is NEVER returned by this server. After creating, tell the user to open Settings > API > Webhooks in Tarkle and use "New signing secret" on the endpoint's row menu to see its secret once. If an endpoint with the same address and events already exists, that one is returned and nothing is created. Webhooks send signed event data from the workspace to an outside address. Only workspace Owners and Admins can manage them.
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": {
"workspaceId": "<workspaceId>",
"url": "<url>",
"events": "<events>"
},
"name": "tarkle_create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The https address Tarkle sends events to. | |
| events | Yes | The event names to send, named exactly. Ask the user which events they want. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| description | No | A short note about what the endpoint is for. null leaves it empty. | |
| workspaceId | Yes | The workspace's id, from tarkle_list_workspaces. | |
| confirmationCode | No | The code from the first answer of this tool for these exact inputs. Send it only after the user approved sending these events to this host. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook | No | ||
| alreadyExisted | No |