tool_list_labels
List all labels in a Ren'Py project by scanning .rpy files, returning label names, source files, and line numbers. Optionally parse parameters, jumps, calls, and return-value status.
Instructions
List all labels in a Ren'Py project.
Scans all .rpy files under project_path/game/ and returns label names, their source files, and line numbers.
Args: project_path: Absolute path to the Ren'Py project root directory. rich: If True, also parse each label's params, jumps, calls, and return-value status (slower, reads every label block).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rich | No | ||
| project_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |