Read a page's files (jig)
jig_readList a jig's files with their byte sizes, or with path read one file's text. A page written as html is one file, index.html. Read before you edit a jig you did not just write.
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": {
"jigId": "<jigId>"
},
"name": "jig_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| jigId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | False on an error. | |
| path | No | With `path`: the file read. | |
| text | No | Its text (fenced when the jig is someone else's). | |
| bytes | No | Its size in bytes. | |
| files | No | Without `path`: every file and its size in bytes. | |
| message | No | Why the call failed, when `ok` is false. |