chronica_get_thread_info
Retrieve detailed information about a specific thread, including its content and metadata, from the Chronica memory server.
Instructions
指定されたスレッドの情報を取得します。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | スレッドID |
Implementation Reference
- src/chronica/tools.py:537-556 (handler)The handler implementation for the chronica_get_thread_info tool, which uses the store.get_thread_info method to retrieve thread details.
elif name == "chronica_get_thread_info": thread_id = arguments.get("thread_id") if not thread_id: return [types.TextContent( type="text", text=json.dumps({"error": "validation_error", "message": "thread_id is required"}, ensure_ascii=False) )] thread_info = store.get_thread_info(thread_id) if thread_info: return [types.TextContent( type="text", text=json.dumps(thread_info, ensure_ascii=False, indent=2) )] else: return [types.TextContent( type="text", text=json.dumps({"error": "not_found", "message": f"Thread {thread_id} not found"}, ensure_ascii=False) )] - src/chronica/tools.py:309-321 (registration)Tool definition and registration for chronica_get_thread_info within the list_tools function.
name="chronica_get_thread_info", description="指定されたスレッドの情報を取得します。", inputSchema={ "type": "object", "properties": { "thread_id": { "type": "string", "description": "スレッドID" } }, "required": ["thread_id"] } )