25#include <nlohmann/json.hpp>
40 explicit McpToolError(
const std::string &msg) : std::runtime_error(msg) {}
78 nlohmann::json
CallTool(
const wxString &name,
79 const nlohmann::json &arguments)
const;
81 nlohmann::json ListCells()
const;
82 nlohmann::json ReadCell(
const nlohmann::json &arguments)
const;
83 nlohmann::json ReadWorksheet()
const;
84 nlohmann::json ReadToc()
const;
85 nlohmann::json ReadSection(
const nlohmann::json &arguments)
const;
86 nlohmann::json ReadVariables()
const;
87 nlohmann::json WatchVariable(
const nlohmann::json &arguments)
const;
88 nlohmann::json UnwatchVariable(
const nlohmann::json &arguments)
const;
94 nlohmann::json
SearchCells(
const nlohmann::json &arguments)
const;
116 GroupCell *FindGroupByUUID(
const wxString &uuid)
const;
118 static wxString GroupTypeName(
int groupType);
120 static wxString InputText(
GroupCell &cell);
122 static wxString OutputText(
GroupCell &cell);
124 nlohmann::json CellSummary(
GroupCell &cell,
int index)
const;
129 wxString CellText(
GroupCell &cell)
const;
146 bool MaximaIsBusy()
const;
148 static wxString CapLength(wxString text);
153 static wxString TruncateText(
const wxString &text, std::size_t maxLen,
154 bool fromEnd,
bool &wasTruncated);
156 static wxString RequireString(
const nlohmann::json &arguments,
A cell grouping input (and, if there is one, also the output) cell to a foldable item.
Definition: GroupCell.h:88
A "variables" sidepane.
Definition: VariablesPane.h:45
The canvas that contains the spreadsheet the whole program is about.
Definition: Worksheet.h:116