get_today_prompts
Retrieve today's learning prompts and questions to review study progress and track metacognitive development from LLM sessions.
Instructions
오늘 했던 질문들을 조회합니다. 사용자가 '오늘 뭐 공부했지?', '오늘 뭐 물어봤지?' 같은 요청을 할 때 사용합니다.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_today_prompts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:176-201 (handler)Implementation of the 'get_today_prompts' tool. It retrieves prompts for the current date and formats them into a text response for the user.
server.tool( "get_today_prompts", "오늘 했던 질문들을 조회합니다. 사용자가 '오늘 뭐 공부했지?', '오늘 뭐 물어봤지?' 같은 요청을 할 때 사용합니다.", {}, async () => { const today = getToday(); const dailyData = loadDailyPrompts(today); if (dailyData.prompts.length === 0) { return { content: [{ type: "text", text: "오늘 저장된 질문이 없습니다." }], }; } const list = dailyData.prompts .map((p: PromptEntry, i: number) => { const time = new Date(p.timestamp).toLocaleTimeString("ko-KR", { hour: "2-digit", minute: "2-digit" }); return `${i + 1}. [${time}] ${p.prompt}`; }) .join("\n"); return { content: [{ type: "text", text: `📝 오늘의 질문 (${dailyData.prompts.length}개)\n\n${list}` }], }; } );