mcp-notion__notion-search-sessions
Search past agent sessions by topic in a periodically refreshed index and return matching session URLs and excerpts. Recently created or updated sessions may not appear; use query_sessions for recent sessions.
Requires Notion AI and Custom Agents access. Call this tool directly. If access is denied, follow the recovery guidance in the result. Through Royally: its server marks it read-only, so it runs straight away.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"question": "<question>"
},
"name": "mcp-notion__notion-search-sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skill | No | For tracking only: the name of the agent skill you are following for this task, such as notion-meeting-prep. Omit if you are not following a skill. | |
| site_id | No | Site to run this tool on: ded71e55-0da4-4a52-8f14-1224fa9979b9 (https://mcp.notion.com/mcp) | |
| lookback | No | How far back to search, such as "30d" or "1y". Leave it out to search the past year. | |
| question | Yes | What you want to find in past sessions. | |
| instructions_version | No | Notion setup instructions version, such as 0.0.2. Omit if unknown. |