---
title: "oz0 approval answer"
description: "Answer a question an agent asked with oz.ask_user."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/approval/answer"
---
# oz0 approval answer

> Answer a question an agent asked with oz.ask_user.

For: Operators and developers looking up a command.

Answer a question an agent asked with oz.ask_user. The agent reads the answer and goes on. When the question
offers choices (approval list shows them in brackets), the answer must be one of them. When it asks typed fields
(approval list shows them as {name: kind}), the answer is one JSON object of their values, such as
'{"day": "2026-10-12", "count": 2}', which the job checks against the fields.

To decline, use approval deny with a
comment; the agent is told who declined and why.

Only a pending question takes an answer: an answer to any other approval is refused, so this command never approves
a tool call. Answering needs the content permission on the tenant, since the question is the job's content; without
it the answer is refused (permission denied), and approval deny still declines.

## Usage

```bash
oz0 approval answer JOB APPROVAL ANSWER [flags]
```

## Flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --comment
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      a note for the job's history
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --tenant
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      tenant
    </td>
  </tr>
</tbody>
</table>

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
