get_buffer_contents
Read buffer data from a RenderDoc capture by specifying resource ID, optional byte offset and length, and receive base64-encoded contents with metadata.
Instructions
Read the contents of a buffer resource.
Args: resource_id: The resource ID of the buffer to read offset: Byte offset to start reading from (default: 0) length: Number of bytes to read, 0 for entire buffer (default: 0)
Returns buffer data as base64-encoded bytes along with metadata.
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_id": "<resource_id>"
},
"name": "get_buffer_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| offset | No | ||
| resource_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||