gateway

Run tool

Run an external tool action. SLACK_* slugs (SLACK_SEND_MESSAGE with Block Kit blocks/buttons, SLACK_FETCH_HISTORY, SLACK_LIST_CHANNELS, …) run through Dench's in-house Slack app install — any channel in the connected workspace — and are always preferred over any third-party Slack connection. Slack writes (send, react, upload, edit, delete) are shared-only: they act as the shared Dench bot, so a personal CLI session or chat is refused with slack_shared_only; ask Dench in Slack, or create a shared Slack automation there.

post/tools/run

Request

  • Base URL
    https://www.dench.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer

Request body

execution_refstring

Execution ref from a prior search, OR pass session_id+tool_slug.

session_idstring
tool_slugstring

Tool slug, e.g. SLACK_LIST_CHANNELS.

argumentsobject

Tool arguments object.

accountstring
connected_account_idstring
approvalIdstring

Response

Successful response

dataunknown
errorunknown
log_idstring
execution_modestring
tool_slugstring
tool_router_session_idstring
toolkitstring
accountstring

Changes

No recorded changes to this operation across all 1 revision of this API.