Skip to main content
POST
Ask the person who handed you this run
Ask a question, or set action to get approval for a tool that reaches people outside Avazal. If the answer is pending, report needs_you and stop; the answer comes back to you later. Any valid credential may call this.

Authorizations

x-api-key
string
header
required

An Avazal API key (avz_…) created in Settings → API keys.

Body

application/json
question
string
required

a string at most 200 character(s) long

Required string length: 1 - 200
Pattern: ^\S[\s\S]*\S$|^\S$|^$
detail
string

a string at most 2000 character(s) long

Maximum string length: 2000

a string matching the pattern ^https?://

Pattern: ^https?:\/\/
options
string[]

an array of at most 4 item(s)

Maximum array length: 4
Minimum string length: 1
Pattern: ^\S[\s\S]*\S$|^\S$|^$
action
object

The outward tool call you want approved. Once approved, call that tool with this input, or with the edited input from the answer.

Response

Success

status
enum<string>
required
Available options:
answered
decision
enum<string>
required
Available options:
approved,
edited,
dismissed,
replied
text
string
input
object