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

# Tools

> The ten tools the SpecPilot MCP server gives your agent.

Every tool takes an optional `project`, the index from `specpilot_list_projects` (0 if you leave it out). The two setup tools take a folder path instead. Task writes need the `sha256` from `specpilot_list_tasks`. If the file changed since, the write is refused and nothing is written.

| Tool | What it does | Writes |
| - | - | - |
| `specpilot_list_projects` | The projects the App shows: index, name, folder, git branch, whether `.specs/` exists, and the files `specpilot_read_spec` accepts | No |
| `specpilot_read_spec` | The text of one file: a `.specs/` file, or an instruction, command or skill file the App shows | No |
| `specpilot_list_tasks` | Every row of `tasks.md` by lane, plus the file hash task writes need | No |
| `specpilot_new_task` | Adds a row to Backlog (`BL-###`) or Current Sprint (`CS-###`) with the next free ID, and an optional type and priority | Yes |
| `specpilot_move_task` | Moves a row to Backlog, Current Sprint or Review at a position. Never to Completed, and never out of Review | Yes |
| `specpilot_set_task` | Sets or clears a row's Type (feat, bug, chore) and Priority (P1, P2, P3) | Yes |
| `specpilot_validate_specs` | The checks of `specpilot validate`, without fixing anything | No |
| `specpilot_regenerate_commands` | Adds missing SpecPilot command files and updates the ones you haven't edited, for each IDE in use | Yes |
| `specpilot_setup_questions` | Step 1 of setup: what was found in the code and every question, with choices and suggestions | No |
| `specpilot_setup_project` | Step 2 of setup: writes `.specs/`, the instruction files and the skill, then validates | Yes |

## Completed is yours

No tool moves a task to Completed. After you approve a task in Review, your agent writes its Completed entry (number, CD ID and commit) itself. See [Review and Spec Reports](https://docs.specpilot.dev/concepts/review.md).

## Read only

With `specpilot serve --read-only`, only the four read tools are offered: `specpilot_list_projects`, `specpilot_read_spec`, `specpilot_list_tasks` and `specpilot_validate_specs`.


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