分类

番茄时钟

经典番茄工作法:25分钟专注工作后休息5分钟,提高工作效率和专注力

Duration of each focused work session

Duration of short breaks between work sessions

Duration of long breaks after completing sessions

How many work sessions to complete before a long break

你正在处理的任务名称(可选)

API 文档

请求端点

POST /zh/api/tools/pomodoro-timer

请求参数

参数名 类型 必填 描述
workMinutes number Duration of each focused work session
breakMinutes number Duration of short breaks between work sessions
longBreakMinutes number Duration of long breaks after completing sessions
sessionsUntilLongBreak number How many work sessions to complete before a long break
taskName text 你正在处理的任务名称(可选)

响应格式

{
  "result": "Initial display content",
  "interactive": true,
  "components": [
    {
      "type": "timer",
      "id": "timer1",
      "config": {
        "label": "Countdown",
        "duration": 60
      }
    }
  ],
  "state": {
    "key": "value"
  },
  "actions": [
    {
      "type": "start",
      "id": "start-btn",
      "label": "Start"
    }
  ],
  "styles": "/* Custom CSS */",
  "scripts": "/* Client-side scripts */",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}
交互式组件: 交互式组件

AI MCP 文档

将此工具添加到您的 MCP 服务器配置中:

{
  "mcpServers": {
    "elysiatools-pomodoro-timer": {
      "name": "pomodoro-timer",
      "description": "经典番茄工作法:25分钟专注工作后休息5分钟,提高工作效率和专注力",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pomodoro-timer",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。

如果遇见问题,请联系我们:[email protected]