inputSchema property
JSON Schema for the tool's input parameters.
Implementation
@override
Map<String, dynamic> get inputSchema => {
'type': 'object',
'properties': {
'file_path': {
'type': 'string',
'description': 'The absolute path to the file to read',
},
'offset': {
'type': 'integer',
'description':
'The line number to start reading from (1-based). '
'Only provide if the file is too large to read at once.',
},
'limit': {
'type': 'integer',
'description':
'The number of lines to read. Only provide if the file '
'is too large to read at once.',
},
'pages': {
'type': 'string',
'description':
'Page range for PDF files (e.g., "1-5", "3", "10-20"). '
'Only applicable to PDF files. Maximum 20 pages per request.',
},
},
'required': ['file_path'],
};