smartchat

get_automation

Returns one automation with trigger, steps, rules and hints. Add include=runs for the latest runs. Webhook addresses and header values show as *** unless the key has hooks:read_secret.

Tool nameget_automation
Permissionautomations:read
readOnlyHinttrue
destructiveHintfalse
idempotentHinttrue
openWorldHintfalse
REST callGET /v1/automations/{automation_id}

#What it does

  • Only reads data. It changes nothing and sends nothing.

#Input

The tool takes one flat object. Path, query and body fields of the REST call are merged into it.

NameTypeRequiredDescription
automation_idstringyesAutomation ID.
includestringnoruns adds the latest 10 runs. one of: runs

#Result

The result has the same content as the REST answer. Lists have at most 50 items per page (default 20); use cursor for the next page.

Errors come back as a tool result with isError: true. The error codes are the ones in Errors.