get-search-history
Retrieve your search history from note.com to review past queries and access previously discovered content.
Instructions
検索履歴を取得する
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/user-tools.ts:171-183 (registration)Registration of the 'get-search-history' MCP tool. Includes inline handler that fetches search history from the `/v2/search_histories` API endpoint, formats the response, and handles errors using shared utilities.server.tool( "get-search-history", "検索履歴を取得する", {}, async () => { try { const data = await noteApiRequest(`/v2/search_histories`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "検索履歴取得"); } } );