read_value
Fetch a single item from a selected process memory address in an active session. Define whether it resolves as an integer, float, Boolean, string, or raw bytes, setting width for non-numeric cases.
Instructions
Read one value from an address.
:param address: hex string, e.g. "0x7FFD1234".
:param value_type: int, float, bool, str or bytes.
:param bufflength: width in bytes. Required for str / bytes
(nothing else says how far to read); defaults to int→4, float→8,
bool→1 for the numeric types.
Numeric widths are restricted to the ones every path agrees on:
1, 2, 4 or 8 for ``int``, 4 or 8 for ``float``, 1 for ``bool``.
Anything else is refused rather than half-supported. Text widths
are capped — see ``server_info().limits``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| bufflength | No | ||
| session_id | Yes | ||
| value_type | No | int |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |