← Back to Kontasks
Timeline Search Tool - Plan Ready
Plan to add search parameter to existing konui_get_timeline MCP tool
Output
📝 Timeline Search Tool - Plan
Approach
Add a search parameter to the existing konui_get_timeline tool rather than creating a new tool. This keeps the API simple and follows the existing pattern.
Example Usage
// Search timeline for "prompt" in last 24 hours
await konui_get_timeline({ hours: 24, search: "prompt" });
// Search in last 20 entries
await konui_get_timeline({ count: 20, search: "database" });
Search Fields
Kontasks: • title (primary) • description (secondary) • tags[] (array joined) System Events: • message (primary)
Files to Modify
konui/src/router.ts ~10 lines - add search filter konui/mcp/server.ts ~5 lines - add search param CLAUDE.md ~5 lines - add example
Behavior
- Case-insensitive substring match
- Applied after scope/flowId/time filters
- Results remain sorted by timestamp (newest first)
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
greatvibe
Tags
mcptimelinesearchplan
Created
12 Jan 2026, 4:53 am
Updated
12 Jan 2026, 4:53 am
Timing
⏱️ 127.7s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
📋 Claude's Context
Session
ses_286e2e28...
Raw Data
{
"id": "d871d165-a362-487d-81bd-95f047cd992b",
"type": "general",
"status": "completed",
"title": "Timeline Search Tool - Plan Ready",
"description": "Plan to add search parameter to existing konui_get_timeline MCP tool",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:'Consolas','Monaco',monospace;\">\n<h2 style=\"font-family:sans-serif;color:#fff;margin:0 0 16px 0;\">📝 Timeline Search Tool - Plan</h2>\n\n<h3 style=\"color:#61afef;margin:16px 0 12px 0;\">Approach</h3>\n<p style=\"margin:0 0 16px 0;line-height:1.8;\">Add a <code style=\"background:#2d2d2d;padding:2px 6px;border-radius:4px;\">search</code> parameter to the <strong>existing</strong> <code>konui_get_timeline</code> tool rather than creating a new tool. This keeps the API simple and follows the existing pattern.</p>\n\n<h3 style=\"color:#61afef;margin:16px 0 12px 0;\">Example Usage</h3>\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<pre style=\"margin:0;line-height:1.6;color:#98c379;\">// Search timeline for \"prompt\" in last 24 hours\nawait konui_get_timeline({ hours: 24, search: \"prompt\" });\n\n// Search in last 20 entries\nawait konui_get_timeline({ count: 20, search: \"database\" });</pre>\n</div>\n\n<h3 style=\"color:#61afef;margin:16px 0 12px 0;\">Search Fields</h3>\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<pre style=\"margin:0;line-height:1.8;color:#e0e0e0;\"><span style=\"color:#e5c07b;\">Kontasks:</span>\n • title <span style=\"color:#7f848e;\">(primary)</span>\n • description <span style=\"color:#7f848e;\">(secondary)</span>\n • tags[] <span style=\"color:#7f848e;\">(array joined)</span>\n\n<span style=\"color:#56b6c2;\">System Events:</span>\n • message <span style=\"color:#7f848e;\">(primary)</span></pre>\n</div>\n\n<h3 style=\"color:#61afef;margin:16px 0 12px 0;\">Files to Modify</h3>\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<pre style=\"margin:0;line-height:1.8;color:#e0e0e0;\"><span style=\"color:#56b6c2;\">konui/src/router.ts</span> <span style=\"color:#7f848e;\">~10 lines - add search filter</span>\n<span style=\"color:#56b6c2;\">konui/mcp/server.ts</span> <span style=\"color:#7f848e;\">~5 lines - add search param</span>\n<span style=\"color:#56b6c2;\">CLAUDE.md</span> <span style=\"color:#7f848e;\">~5 lines - add example</span></pre>\n</div>\n\n<h3 style=\"color:#61afef;margin:16px 0 12px 0;\">Behavior</h3>\n<ul style=\"margin:0;padding-left:20px;line-height:1.8;\">\n<li>Case-insensitive substring match</li>\n<li>Applied after scope/flowId/time filters</li>\n<li>Results remain sorted by timestamp (newest first)</li>\n</ul>\n</div>",
"requestedAt": "2026-01-12T18:55:00.000Z",
"requestId": "721fc656-93ad-4719-9e48-8b34a520d58f",
"choices": [
{
"label": "Implement now",
"value": "Implement the timeline search feature - add search parameter to the existing konui_get_timeline MCP tool",
"primary": true
},
{
"label": "Create new tool",
"value": "Create a separate konui_search_timeline tool instead of extending the existing one",
"primary": false
},
{
"label": "More details",
"value": "Show me more details about the implementation plan",
"primary": false
}
],
"turnTiming": {
"totalMs": 127650,
"ttfeMs": 48,
"thinkingMs": 127602,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-11T18:53:14.350Z",
"updatedAt": "2026-01-11T18:53:21.452Z",
"requestId": "721fc656-93ad-4719-9e48-8b34a520d58f",
"scope": "greatvibe",
"tags": [
"mcp",
"timeline",
"search",
"plan"
],
"sessionId": "ses_286e2e28-97c"
}