Commit e3b250496dee

Vincent Demeester <vincent@sbr.pm>
2026-02-16 14:22:08
Fix: Prefix unused parameters with underscore in status tool
Changed files (1)
src
pi
src/pi/tools/status.ts
@@ -11,7 +11,7 @@ export const statusTool: AgentTool = {
   label: "System Status",
   description: "Show system status including uptime, memory usage, and load average",
   parameters: Type.Object({}),
-  execute: async (toolCallId, params, signal, onUpdate) => {
+  execute: async (_toolCallId, _params, _signal, _onUpdate) => {
       // Get system information
       const uptimeSeconds = os.uptime();
       const totalMemory = os.totalmem();