Find Recent Kimi Session
kimi_find_recent_sessionSearch recent Kimi sessions by title substring, filtered by status or working directory, to recover a session when its exact ID is unknown.
Instructions
Find raw Kimi sessions whose titles contain a requested substring, optionally filtered by status and working directory. Use this only when the exact session is unknown and durable recovery through kimi_recent_jobs is unavailable or insufficient. Once a session is identified, prefer sessionId-based tools. Discovery does not grant ownership; session-oriented tools still enforce durable ownership when configured. This tool does not create or modify a session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory used to constrain matches to the same workspace. Recommended for safe recovery/dedupe. | |
| status | No | Optional exact Kimi session-status filter, such as running, idle, awaiting_approval, awaiting_question, aborted, or failed. | |
| pageSize | No | Maximum number of recent sessions to inspect. Defaults to 20. | |
| matchAnyCwd | No | Set true only when intentionally allowing a title match from any working directory. Defaults to false when cwd is provided. | |
| excludeEmpty | No | Whether sessions with no messages should be excluded from the search. | |
| titleContains | Yes | Case-insensitive substring that must appear in the Kimi session title. Leading and trailing whitespace is ignored. | |
| includeArchive | No | Whether archived Kimi sessions should be included in the search. | |
| includeSummary | No | Fetch message count and latest meaningful user/assistant messages for candidates. Adds latency; leave false unless recovery context is needed. |