things_get_projects
Retrieve all active projects from Things 3 on macOS to manage tasks and organize work efficiently.
Instructions
Get all active projects
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": "things_get_projects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | Limit number of results returned (defaults to all if not specified) |
Implementation Reference
- src/tools/get.ts:156-158 (handler)The handler logic for 'things_get_projects' parses the AppleScript output into a list of projects.
case 'things_get_projects': result = { projects: parseProjectList(output) }; break; - src/tools/get.ts:46-50 (registration)Registration of the 'things_get_projects' tool in the GetToolHandler definitions.
{ name: 'things_get_projects', description: 'Get all active projects', schema: GetListSchema }, - src/tools/get.ts:3-3 (schema)The schema definition for the input parameters of 'things_get_projects'.
import { GetProjectSchema, GetAreaSchema, GetListSchema, GetListByNameSchema, GetTodoDetailsSchema } from '../types/mcp.js';