> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sazabi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sazabi tool-permissions

> Command reference for sazabi tool-permissions.

`sazabi tool-permissions` — List and delete the tool calls a project's agents run without asking. Subcommands: `list`, `pending`, `delete`.

## `sazabi tool-permissions`

List and delete the tool calls a project's agents run without asking

```txt theme={"system"}
sazabi tool-permissions <subcommand>
```

### `sazabi tool-permissions list`

List the project's tool permissions

```txt theme={"system"}
sazabi tool-permissions list [options]
```

| Flag | Type | Required | Description |
| - | - | - | - |
| `--token` | string | No | Override token (prefer SAZABI\_TOKEN; arguments are visible to other local users) |
| `--api-base-url` | string | No | Override API base URL |
| `--json` | boolean | No | Output as JSON |
| `--project-id` | string | No | Override project selection |

```bash theme={"system"}
sazabi tool-permissions list
sazabi tool-permissions list --json
```

### `sazabi tool-permissions pending`

List a thread's pending tool permission requests

```txt theme={"system"}
sazabi tool-permissions pending [options]
```

| Flag | Type | Required | Description |
| - | - | - | - |
| `--token` | string | No | Override token (prefer SAZABI\_TOKEN; arguments are visible to other local users) |
| `--api-base-url` | string | No | Override API base URL |
| `--json` | boolean | No | Output as JSON |
| `--project-id` | string | No | Override project selection |
| `--thread-id` | string | No | Thread whose pending requests to list |

```bash theme={"system"}
sazabi tool-permissions pending --thread-id <thread-id>
sazabi tool-permissions pending --thread-id <thread-id> --json
```

### `sazabi tool-permissions delete`

Delete one of the project's tool permissions

The project's agents ask again before running a call the deleted rule allowed.

```txt theme={"system"}
sazabi tool-permissions delete <rule-id> [options]
```

| Flag | Type | Required | Description |
| - | - | - | - |
| `--token` | string | No | Override token (prefer SAZABI\_TOKEN; arguments are visible to other local users) |
| `--api-base-url` | string | No | Override API base URL |
| `--json` | boolean | No | Output as JSON |
| `--project-id` | string | No | Override project selection |
| `--yes`, `-y` | boolean | No | Delete without asking for confirmation |

```bash theme={"system"}
sazabi tool-permissions delete <rule-id>
sazabi tool-permissions delete <rule-id> --yes --json
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.