---
title: "codespar catalog"
description: "Catalog: search it for a capability by intent"
---

Catalog: search it for a capability by intent

1 command in `@codespar/cli 0.16.0`.

Each one prints what its operation answered. [What a command prints](/docs/cli/reference#what-a-command-prints) has the rule, and [Configuration](/docs/cli/config#what-a-script-gets-when-a-command-fails) has the exit codes and the shape of a failure.

### `codespar catalog search`

Find tools by intent, in words

```bash
codespar catalog search --input '{"intent":"string","limit":1000}'
```

| option | what it does |
|---|---|
| `-q, --query <key=value>` | Query parameter (repeatable) (default: []) |
| `--timeout <ms>` | Per-request timeout in milliseconds |
| `-i, --input <json>` | Request body as a JSON string |
| `-f, --input-file <path>` | Request body from a JSON file |

`POST /v1/tools/search` · [parameters, responses and refusals](/docs/api/reference/tools#post-v1toolssearch)
