Skip to main content
Glama

show

Navigate to and display areas, projects, tags, todos, or built-in lists like inbox, today, and upcoming in your Things 3 task management system.

Instructions

导航到并显示区域、项目、标签、待办事项或内置列表。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoID或内置列表名(inbox, today, anytime, upcoming, someday, logbook等)
queryNo查询名称(如果未提供id)
filterNo按标签筛选,逗号分隔

Implementation Reference

  • The main handler function for the 'show' tool. It constructs a Things URL scheme for 'show' command using the provided arguments and opens it via openThingsUrl method.
    async handleShow(args) { const url = buildThingsUrl('show', args); await this.openThingsUrl(url); return { content: [ { type: 'text', text: `✅ 导航命令已发送${args.id ? ` (${args.id})` : args.query ? ` (${args.query})` : ''}`, }, ], }; }
  • The schema and metadata definition for the 'show' tool, used in the ListTools response.
    { name: 'show', description: '导航到并显示区域、项目、标签、待办事项或内置列表。', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'ID或内置列表名(inbox, today, anytime, upcoming, someday, logbook等)', }, query: { type: 'string', description: '查询名称(如果未提供id)', }, filter: { type: 'string', description: '按标签筛选,逗号分隔', }, }, }, }, {
  • src/index.js:439-440 (registration)
    Registration of the 'show' tool handler in the CallToolRequest switch statement.
    case 'show': return await this.handleShow(args);
  • Helper function used by the handler to build the Things URL scheme for the 'show' command.
    export function buildThingsUrl(command, params = {}) { const baseUrl = `things:///${command}`; const queryString = buildQueryString(params); if (!queryString) { return baseUrl; } return `${baseUrl}?${queryString}`; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mieluoxxx/things_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server