list-contests
Retrieve contest listings from note.com to discover current competitions and participation opportunities available on the platform.
Instructions
コンテスト一覧を取得する
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/user-tools.ts:185-197 (registration)Registration of the 'list-contests' tool, including inline handler function that fetches the contest list from the '/v2/contests' API endpoint using noteApiRequest and returns a success response or handles errors.server.tool( "list-contests", "コンテスト一覧を取得する", {}, async () => { try { const data = await noteApiRequest(`/v2/contests`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "コンテスト取得"); } } );