get_version
Retrieve version information for the Things 3 task management application and its URL schemes to ensure compatibility with automation workflows.
Instructions
获取Things应用和URL Scheme的版本信息。
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": "get_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.js:569-581 (handler)The core handler function for the 'get_version' tool. It builds a Things URL scheme with the 'version' command and empty parameters, executes it by opening the URL, and returns a confirmation message to the client.
async handleGetVersion() { const url = buildThingsUrl('version', {}); await this.openThingsUrl(url); return { content: [ { type: 'text', text: '✅ 版本信息命令已发送。请查看Things应用获取版本信息。', }, ], }; } - src/index.js:352-359 (registration)Registration of the 'get_version' tool in the ListTools response array, including its name, description, and input schema definition.
{ name: 'get_version', description: '获取Things应用和URL Scheme的版本信息。', inputSchema: { type: 'object', properties: {}, }, }, - src/index.js:355-358 (schema)Input schema for the 'get_version' tool, defining an empty object (no parameters required).
inputSchema: { type: 'object', properties: {}, }, - src/index.js:443-444 (helper)Dispatch logic in the CallToolRequest handler's switch statement that routes calls to the 'get_version' tool to its handler method.
case 'get_version': return await this.handleGetVersion();