get_recipe_var_raw
Extract raw variable assignments from BitBake recipe files without evaluation to inspect configuration values like SRC_URI or PN in .bb and .bbappend files.
Instructions
Get all raw assignments for a specific variable in a .bb or .bbappend file.
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": {
"file_path": "<file_path>",
"variable": "<variable>"
},
"name": "get_recipe_var_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .bb or .bbappend file | |
| variable | Yes | Variable name to look up (e.g. SRC_URI, PN, PV) |