get_anytime
Retrieve tasks from the Anytime list in the Things app using natural language commands to manage and prioritize your to-dos efficiently.
Instructions
Get todos from Anytime list
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- things_server.py:43-50 (handler)The handler function for the 'get_anytime' tool. It retrieves todos from the 'Anytime' list using the 'things.anytime()' function, formats them using 'format_todo', and returns a joined string of formatted todos separated by '---'.@mcp.tool async def get_anytime() -> str: """Get todos from Anytime list""" todos = things.anytime(include_items=True) if not todos: return "No items found" formatted_todos = [format_todo(todo) for todo in todos] return "\n\n---\n\n".join(formatted_todos)