Add sheet
add_sheetAdd an empty sheet to the end of a blank session workbook and make it active for unqualified cell references. Use set_inputs for imported workbooks.
Instructions
Add an empty sheet at the end of a session's workbook and make it the active sheet (the one unqualified refs like "B4" point to). Only for sessions created blank (create_session with no file); on an imported workbook it fails, so work in its existing sheets with set_inputs instead. To retitle a sheet use rename_sheet; to remove one use delete_sheet. Returns {sheet_index, sheet_name, sheet_count}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"name": "<name>"
},
"name": "add_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new sheet tab, e.g. "Assumptions" | |
| session_id | Yes | Session ID returned by create_session (list_sessions shows the open ones) |