read_file
Read a UTF-8 file from the NXT brick's user flash by providing its name and an optional byte limit to bound the data size.
Instructions
Read a bounded UTF-8-compatible file from NXT user flash.
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": {
"name": "<name>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| max_bytes | No |