# veryfront__list_prompts

List the prompts defined in the source of a project, a branch or an environment to find one to use or edit; returns every prompt with the source files that could not be read as prompts. Requires project.agents.read.

Risk: read\_only.

## Arguments

| Name                    | Type   | Required | Description                                                                                                                           |
| ----------------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference`     | string |          | Project ID or slug                                                                                                                    |
| `source_target_kind`    | string |          | Source to read prompts from: project, main\_branch, environment or preview\_branch. Falls back to runtime\_target\_kind when omitted. |
| `runtime_target_kind`   |        |          | Runtime target to read from when source\_target\_kind is omitted: main\_branch, environment or preview\_branch.                       |
| `target_environment_id` |        |          | Environment to use. Required for the environment target; rejected for any other target.                                               |
| `target_branch_id`      |        |          | Preview branch to use. Required for the preview\_branch target; rejected for any other target.                                        |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_prompts",
    "arguments": {}
  }
}
```
