list-contests
Retrieve contest listings from note.com to discover and participate in available competitions.
Instructions
コンテスト一覧を取得する
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/user-tools.ts:185-197 (handler)The handler and registration for the 'list-contests' tool. It calls the note.com API endpoint `/v2/contests` to retrieve the list of contests and handles errors appropriately.server.tool( "list-contests", "コンテスト一覧を取得する", {}, async () => { try { const data = await noteApiRequest(`/v2/contests`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "コンテスト取得"); } } );