brain_get_pref
Read a single stored preference by key, or retrieve all preferences for a Brain instance. Returns a default note when a preference key has never been set.
Instructions
Read back one or all preferences stored for this Brain instance. Call with a key to get a single value, or omit key to list every preference that has been set. Returns a default note when a key has never been set. Complement to brain_set_pref.
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": {
"instance_id": "<instance_id>"
},
"name": "brain_get_pref"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Preference key to read. Omit to list all preferences. | |
| instance_id | Yes | UUID of the Brain instance. |