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

# tai resources

> Load stored resources by id.

Load stored resources by id.

```console theme={null}
$ tai resources [OPTIONS] COMMAND [ARGS]...
```

## `tai resources get`

Load a stored resource by id, optionally rendering it as a template.

Without `--render`/`--kw`/`--kwargs` the loaded content is returned as-is.
Any render var (or a bare `--render`) renders text as a Jinja template.

Example: `tai resources get prompts/greeting.md --kw name=Ada`

```console theme={null}
$ tai resources get [OPTIONS] RESOURCE_ID
```

| Argument      | Description                              |
| ------------- | ---------------------------------------- |
| `RESOURCE_ID` | Resource id (path) to load. *(required)* |

| Option                 | Description                                                                                 |
| ---------------------- | ------------------------------------------------------------------------------------------- |
| `--render`             | Render the resource as a Jinja template (with any --kw/--kwargs vars). *(default: `False`)* |
| `--kwargs` `TEXT`      | Render kwargs as a JSON object (implies --render).                                          |
| `--kw` `TEXT`          | A key=value render kwarg (repeatable; implies --render).                                    |
| `--json` / `--no-json` | Emit raw JSON instead of human tables.                                                      |
