list_brian_time_sensitive_tasks
Retrieve Brian's time-sensitive Todoist tasks filtered by ##Brian time sensitive (per BP) & !subtask criteria. Returns structured JSON with task details for priority management.
Instructions
List all Brian time sensitive tasks from Todoist using the ##Brian time sensitive \(per BP\) & !subtask filter. Returns structured JSON data with task details including id, content, description, completion status, labels, priority, due date, and comment count.
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": "list_brian_time_sensitive_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/personal-tasks.ts:65-88 (handler)Defines the MCP tool 'list_brian_time_sensitive_tasks' including schema and handler. The handler fetches tasks via service and returns JSON-formatted response.
export const listBrianTimeSensitiveTasksTool: Tool = { schema: { name: 'list_brian_time_sensitive_tasks', description: `List all Brian time sensitive tasks from Todoist using the ##${ProjectNames.BRIAN_TIME_SENSITIVE} & !subtask filter. Returns structured JSON data with task details including id, content, description, completion status, labels, priority, due date, and comment count.`, inputSchema: { type: 'object', properties: {}, required: [], }, }, handler: async () => { console.error('Executing list_brian_time_sensitive_tasks...'); const result = await listBrianTimeSensitiveTasks(); console.error('list_brian_time_sensitive_tasks completed successfully'); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; }, }; - src/tools/personal-tasks.ts:66-74 (schema)Schema definition for the 'list_brian_time_sensitive_tasks' tool, specifying name, description, and empty input schema.
schema: { name: 'list_brian_time_sensitive_tasks', description: `List all Brian time sensitive tasks from Todoist using the ##${ProjectNames.BRIAN_TIME_SENSITIVE} & !subtask filter. Returns structured JSON data with task details including id, content, description, completion status, labels, priority, due date, and comment count.`, inputSchema: { type: 'object', properties: {}, required: [], }, }, - Core helper function that fetches Brian time-sensitive tasks from Todoist using project filter excluding subtasks, via generic fetchTasksByFilter.
export async function listBrianTimeSensitiveTasks(): Promise<TasksResponse> { return await fetchTasksByFilter( `##${ProjectNames.BRIAN_TIME_SENSITIVE} & !subtask`, 'list Brian time sensitive tasks' ); } - src/handlers/tool-request-handler.ts:66-87 (registration)Registers the tool handler in toolsWithoutArgs registry for dispatching tool calls without arguments.
const toolsWithoutArgs: Record<string, () => Promise<ToolResponse>> = { list_personal_inbox_tasks: listPersonalInboxTasksTool.handler, list_brian_inbox_per_becky_tasks: listBrianInboxPerBeckyTasksTool.handler, list_becky_inbox_per_brian_tasks: listBeckyInboxPerBrianTasksTool.handler, list_next_actions: listNextActionsTool.handler, get_brian_only_projects: getBrianOnlyProjectsTool.handler, get_brian_shared_projects: getBrianSharedProjectsTool.handler, get_becky_shared_projects: getBeckySharedProjectsTool.handler, get_inbox_projects: getInboxProjectsTool.handler, get_context_labels: getContextLabelsTool.handler, get_chores_due_today: getChoresDueTodayTool.handler, get_tasks_due_tomorrow: getTasksDueTomorrowTool.handler, get_tasks_due_this_week: getTasksDueThisWeekTool.handler, get_tickler_tasks: getTicklerTasksTool.handler, list_gtd_projects: listGtdProjectsTool.handler, get_waiting_tasks: getWaitingTasksTool.handler, get_recent_media: getRecentMediaTool.handler, get_areas_of_focus: getAreasOfFocusTool.handler, get_shopping_list: getShoppingListTool.handler, list_brian_time_sensitive_tasks: listBrianTimeSensitiveTasksTool.handler, list_becky_time_sensitive_tasks: listBeckyTimeSensitiveTasksTool.handler, }; - src/index.ts:113-114 (registration)Registers the tool schema in the MCP server's listTools response.
listBrianTimeSensitiveTasksTool.schema, listBeckyTimeSensitiveTasksTool.schema,