Documentation Index
Fetch the complete documentation index at: https://docs.kontext21.com/llms.txt
Use this file to discover all available pages before exploring further.
Available Tools Reference
X21 provides 14 specialized tools for Excel operations. This reference documents each tool’s capabilities, parameters, and usage.Data Operations
read_values
Purpose: Read cell values and formulas from ranges Auto-approved: ✓ Yes Parameters:range: Excel range (e.g., “A1:D10”)worksheet: Sheet name (optional if current sheet)
write_values
Purpose: Write values or formulas to cells Auto-approved: ✗ Requires approval Parameters:range: Target Excel rangevalues: 2D array of values/formulasworksheet: Sheet name (optional)
drag_formula
Purpose: AutoFill formulas or patterns using Excel’s drag behavior Auto-approved: ✗ Requires approval Parameters:source_range: Starting cellsdestination_range: Where to fillfill_type: default, series, formats, values
Formatting Operations
read_format
Purpose: Read formatting properties of cells Auto-approved: ✓ Yes Parameters:range: Excel range to readworksheet: Sheet name (optional)
write_format
Purpose: Apply formatting to ranges Auto-approved: ✗ Requires approval Parameters:range: Target rangeformat: Object with properties:bold,italic,underline: booleanfont_color: hex color (e.g., “#FF0000”)background_color: hex colorfont_size: numberfont_name: stringalignment: left, center, right, justifynumber_format: format string
Structure Operations
add_sheets
Purpose: Create new worksheets Auto-approved: ✗ Requires approval Parameters:sheet_names: Array of namesposition: Before/after which sheet (optional)
remove_sheets
Purpose: Delete worksheets Auto-approved: ✗ Requires approval Warning: ⚠️ Cannot be undone Parameters:sheet_names: Array of sheets to delete
add_rows
Purpose: Insert rows at specific positions Auto-approved: ✗ Requires approval Parameters:row_spec: Row specification (e.g., “1:1” or “5:7”)worksheet: Sheet name (optional)
remove_rows
Purpose: Delete rows Auto-approved: ✗ Requires approval Warning: ⚠️ Data loss - cannot be undone Parameters:row_spec: Rows to delete (e.g., “5:10”)worksheet: Sheet name (optional)
add_columns
Purpose: Insert columns at specific positions Auto-approved: ✗ Requires approval Parameters:column_spec: Column specification (e.g., “A:A” or “B:D”)worksheet: Sheet name (optional)
remove_columns
Purpose: Delete columns Auto-approved: ✗ Requires approval Warning: ⚠️ Data loss - cannot be undone Parameters:column_spec: Columns to delete (e.g., “C:E”)worksheet: Sheet name (optional)
VBA Operations
vba_read
Purpose: Read existing VBA macro code Auto-approved: ✓ Yes Parameters:module_name: VBA module name (optional - reads all if omitted)
vba_create
Purpose: Create new VBA macros Auto-approved: ✗ Requires approval Status: 🧪 Experimental Warning: Review generated code carefully Parameters:function_name: Name of the macrocode: VBA code to create
vba_update
Purpose: Modify existing VBA macros Auto-approved: ✗ Requires approval Status: 🧪 Experimental Warning: Review changes carefully Parameters:function_name: Macro to updatecode: New VBA code
Tool Categories
By Safety Level
Auto-Approved (Read-Only):- read_values
- read_format
- vba_read
- write_values
- write_format
- drag_formula
- add_sheets
- add_rows
- add_columns
- vba_create
- vba_update
- remove_sheets
- remove_rows
- remove_columns
By Operation Type
Data: read_values, write_values, drag_formula Format: read_format, write_format Structure: add_sheets, remove_sheets, add_rows, remove_rows, add_columns, remove_columns VBA: vba_read, vba_create, vba_updateRelated Topics
- Tool Management - Enable/disable tools
- Tool Permissions - Approval workflow
- Tool Preview & Undo - View and revert changes

