import { TOOLS, type ToolDefinition } from '../types.js';
// ⭐ COMPRESSED VERSION - Schema size reduced by ~66%
// Original size: ~650 bytes/tool
// Compressed size: ~220 bytes/tool
// Strategy: Remove verbose descriptions, refer to help tool for details
export const toolDefinitions: ToolDefinition[] = [
{
name: TOOLS.GEMINI,
description: 'Execute Gemini CLI. Use help for details',
inputSchema: {
type: 'object',
properties: {
prompt: {
type: 'string',
},
sessionId: {
type: 'string',
},
resetSession: {
type: 'boolean',
},
model: {
type: 'string',
},
},
required: ['prompt'],
},
},
{
name: TOOLS.PING,
description: 'Test connection',
inputSchema: {
type: 'object',
properties: {
message: {
type: 'string',
},
},
required: [],
},
},
{
name: TOOLS.HELP,
description: 'Get detailed documentation',
inputSchema: {
type: 'object',
properties: {},
required: [],
},
},
{
name: TOOLS.LIST_SESSIONS,
description: 'List active sessions',
inputSchema: {
type: 'object',
properties: {},
required: [],
},
},
];