Implementation
gradeNot graded
gradeNot graded
read_textAnswer
Read the current text and revision from this open local Write page.
View tool JSON
{
"name": "read_text",
"kind": "answer",
"impl": "imperative",
"description": "Read the current text and revision from this open local Write page.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}write_textAction
Replace text in this open local Write page. Read first and supply its revision to avoid overwriting new typing.
View tool JSON
{
"name": "write_text",
"kind": "act",
"impl": "imperative",
"description": "Replace text in this open local Write page. Read first and supply its revision to avoid overwriting new typing.",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 1000000
},
"expected_revision": {
"type": "integer",
"minimum": 0
}
},
"required": [
"text",
"expected_revision"
],
"additionalProperties": false
}
}