Find a Pi session
pi_session_findLocate a primary Pi session by its complete UUID, scoped to the active project by default or all projects for cross-project search.
Instructions
Find every primary Pi session in the configured scope whose filename ends in the supplied complete UUID. Retry with scope all only when the UUID may belong to another project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of matching sessions to return, from 1 to 25. | |
| scope | No | Search primary sessions from the configured active project by default; use all only for an explicit cross-project search. Nested subagent/artifact sessions are excluded. | project |
| cursor | No | Omit for the first page. Legacy first-page values '/' and 'start' are accepted. For later pages, pass only the next_cursor returned by the preceding call unchanged. | |
| session_id | Yes | Complete Pi session UUID, including hyphens. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| matches | Yes | ||
| has_more | Yes | ||
| next_action | No | ||
| next_cursor | No | ||
| scanned_sessions | Yes |