Implementation
gradeNot graded
gradeNot graded
code_editor_readAnswer
Read the current code, language, theme, and indent unit in the code.jace.pro editor. Read-only.
View tool JSON
{
"name": "code_editor_read",
"kind": "answer",
"impl": "imperative",
"description": "Read the current code, language, theme, and indent unit in the code.jace.pro editor. Read-only.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/li0dz0qm"
}code_editor_writeAction
Replace the code in the code.jace.pro editor and optionally change language, theme, or indent unit. The editor is a shared document, so anyone in this room sees the change immediately.
View tool JSON
{
"name": "code_editor_write",
"kind": "act",
"impl": "imperative",
"description": "Replace the code in the code.jace.pro editor and optionally change language, theme, or indent unit. The editor is a shared document, so anyone in this room sees the change immediately.",
"inputSchema": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The full replacement document text."
},
"language": {
"type": "string",
"enum": [
"abap",
"apex",
"azcli",
"bat",
"csharp",
"cpp",
"css",
"dart",
"dockerfile",
"elixir",
"fsharp",
"go",
"graphql",
"handlebars",
"hcl",
"html",
"ini",
"java",
"javascript",
"julia",
"kotlin",
"less",
"lua",
"markdown",
"mysql",
"objective-c",
"pascal",
"perl",
"php",
"pgsql",
"powershell",
"pug",
"python",
"r",
"ruby",
"rust",
"sass",
"scala",
"scheme",
"scss",
"shell",
"solidity",
"sql",
"swift",
"typescript",
"vb",
"xml",
"yaml"
],
"description": "Syntax highlighting language."
},
"theme": {
"type": "string",
"enum": [
"vs",
"vs-dark",
"Active4D",
"AllHallowsEve",
"Amy",
"BirdsofParadise",
"Blackboard",
"BrillianceBlack",
"BrillianceDull",
"ChromeDevTools",
"Clouds",
"CloudsMidnight",
"Cobalt",
"Dawn",
"DominionDay",
"Dreamweaver",
"Eiffel",
"EspressoLibre",
"GitHub",
"IDLE",
"Katzenmilch",
"KuroirTheme",
"LAZY",
"MagicWBAmiga",
"Merbivore",
"MerbivoreSoft",
"Monokai",
"MonokaiBright",
"NightOwl",
"OceanicNext",
"PastelsonDark",
"SlushandPoppies",
"Solarized-dark",
"Solarized-light",
"SpaceCadet",
"Sunburst",
"TextmateMacClassic",
"Tomorrow-Night-Blue",
"Tomorrow-Night-Bright",
"Tomorrow-Night-Eighties",
"Tomorrow-Night",
"Tomorrow",
"Twilight",
"UpstreamSunburst",
"VibrantInk",
"Xcodedefault",
"Zenburnesque",
"iPlastic",
"idleFingers",
"krTheme",
"monoindustrial",
"themelist"
],
"description": "Editor theme."
},
"indentUnit": {
"type": "string",
"enum": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"
],
"description": "Spaces per indent level."
}
}
},
"page": "/li0dz0qm"
}