edb_set_variable
Modify a variable's value in the current debugging scope to alter program behavior and test conditions.
Instructions
Modify a variable's value in the current scope. Useful for altering program behavior during debugging.
Args: params (VariableInput): Variable modification - name (str): Variable name (e.g., 'x', 'error_flag') - value (str): New value (e.g., '0', '42', '"hello"')
Returns: str: Confirmation
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": {
"params": "<params>"
},
"name": "edb_set_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |