chronica_get_thread_info
Retrieve detailed information about a specific conversation thread to access structured memory and context across sessions.
Instructions
指定されたスレッドの情報を取得します。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | スレッドID |
Implementation Reference
- src/chronica/tools.py:520-539 (handler)Handler logic for the chronica_get_thread_info tool, which extracts the thread_id from arguments and calls the store.get_thread_info method.
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:292-305 (registration)Registration of the chronica_get_thread_info tool, defining its schema and input requirements.
types.Tool( name="chronica_get_thread_info", description="指定されたスレッドの情報を取得します。", inputSchema={ "type": "object", "properties": { "thread_id": { "type": "string", "description": "スレッドID" } }, "required": ["thread_id"] } )