{"at":"2026-11-23T05:14:01.440Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T05:14:01.874Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T05:14:04.992Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T05:14:05.446Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"instructions":"Tactus is a content-agnostic hardware control layer. It forwards device control commands only and generates no content. Always confirm a device exists via list_devices before driving it. Intensity is normalized 0.0-1.0. Use stop_all to immediately halt everything.","protocolVersion":"2025-11-25","serverInfo":{"name":"tactus","version":"0.1.2"}}}}
{"at":"2026-11-23T05:14:05.446Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T05:14:05.446Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T05:14:05.451Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"List currently connected devices and their actuators.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"list_devices","title":"List devices"},{"description":"Report connection status to Intiface and device count.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"server_status","title":"Server status"},{"description":"Scan for new devices for a duration, then return any newly found.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"duration_ms":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"}},"type":"object"},"name":"scan_for_devices","title":"Scan for devices"},{"description":"Read battery level (0.0-1.0) for a device that reports it.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"device_id":{"description":"Device id from list_devices","maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["device_id"],"type":"object"},"name":"get_battery","title":"Get battery"},{"description":"[Hardware control] Forwards a command to physical hardware. Set vibration intensity on a device.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"actuator_index":{"description":"Restrict to one actuator index; omit to drive all matching actuators","maximum":9007199254740991,"minimum":0,"type":"integer"},"device_id":{"description":"Device id from list_devices","maximum":9007199254740991,"minimum":0,"type":"integer"},"intensity":{"description":"Vibration intensity, 0.0-1.0","maximum":1,"minimum":0,"type":"number"}},"required":["device_id","intensity"],"type":"object"},"name":"vibrate","title":"Vibrate"},{"description":"[Hardware control] Forwards a command to physical hardware. Set oscillation intensity on a device.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"actuator_index":{"description":"Restrict to one actuator index; omit to drive all matching actuators","maximum":9007199254740991,"minimum":0,"type":"integer"},"device_id":{"description":"Device id from list_devices","maximum":9007199254740991,"minimum":0,"type":"integer"},"intensity":{"description":"Oscillation intensity, 0.0-1.0","maximum":1,"minimum":0,"type":"number"}},"required":["device_id","intensity"],"type":"object"},"name":"oscillate","title":"Oscillate"},{"description":"[Hardware control] Forwards a command to physical hardware. Set rotation speed (and direction) on a device.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"actuator_index":{"description":"Restrict to one actuator index; omit to drive all matching actuators","maximum":9007199254740991,"minimum":0,"type":"integer"},"clockwise":{"description":"Direction; honored only if the device supports it","type":"boolean"},"device_id":{"description":"Device id from list_devices","maximum":9007199254740991,"minimum":0,"type":"integer"},"speed":{"description":"Rotation speed, 0.0-1.0","maximum":1,"minimum":0,"type":"number"}},"required":["device_id","speed"],"type":"object"},"name":"rotate","title":"Rotate"},{"description":"[Hardware control] Forwards a command to physical hardware. Move a stroker to a position over a duration.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"actuator_index":{"description":"Restrict to one actuator index; omit to drive all matching actuators","maximum":9007199254740991,"minimum":0,"type":"integer"},"device_id":{"description":"Device id from list_devices","maximum":9007199254740991,"minimum":0,"type":"integer"},"duration_ms":{"description":"Time to reach the position, ms","exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"position":{"description":"Target position, 0.0-1.0","maximum":1,"minimum":0,"type":"number"}},"required":["device_id","position","duration_ms"],"type":"object"},"name":"linear","title":"Linear stroke"},{"description":"[Hardware control] Forwards a command to physical hardware. Play a timed multi-step vibration pattern; interruptible by any stop.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"actuator_index":{"description":"Restrict to one actuator index; omit to drive all matching actuators","maximum":9007199254740991,"minimum":0,"type":"integer"},"device_id":{"description":"Device id from list_devices","maximum":9007199254740991,"minimum":0,"type":"integer"},"repeat":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"steps":{"items":{"properties":{"duration_ms":{"exclusiveMinimum":0,"maximum":9007199254740991,"type":"integer"},"intensity":{"description":"Step intensity, 0.0-1.0","maximum":1,"minimum":0,"type":"number"}},"required":["intensity","duration_ms"],"type":"object"},"minItems":1,"type":"array"}},"required":["device_id","steps"],"type":"object"},"name":"vibrate_pattern","title":"Vibrate pattern"},{"description":"Stop all actuators on one device.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"device_id":{"description":"Device id from list_devices","maximum":9007199254740991,"minimum":0,"type":"integer"}},"required":["device_id"],"type":"object"},"name":"stop_device","title":"Stop device"},{"description":"Immediately stop every connected device. Emergency stop.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"stop_all","title":"Stop all (emergency)"}]}}}
