resource_read
List a FiveM resource directory or read a source file line range and return its SHA-256 hash, enabling file inspection and preparation for edits.
Instructions
List a resource directory, or read a line range of a source file with its SHA-256 (needed for resource_edit)
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": {
"resource": "<resource>"
},
"name": "resource_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| from | No | ||
| limit | No | ||
| resource | Yes | ||
| directory | No |