tools
tools

Execute tool with approval

Execute a tool that requires approval, with an approval token.

Used after getting an approval_required response from /execute.

post/api/tools/{tool_id}/approve

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/tools/{tool_id}/approve
  • Auth: none declared

Path parameters

tool_idstring required

Request body

tool_idstring required

ID of the tool to execute

paramsobject

Tool parameters

approval_tokenstring required

Token proving user approval

mode'draft' | 'auto' | 'supervised' | 'autonomous' | 'background_draft' | 'post_approval' | 'sandbox' | 'voice'

Execution modes for the AI agent.

thread_idstring nullable

Thread/channel ID for context

request_idstring required

Request ID for idempotency

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 5 revisions of this API.