set_interface_bindings
Bind Solidity interfaces to concrete contracts so call-flow analysis resolves interface calls into implementation bodies and rebuilds flows without recompiling.
Instructions
Bind interfaces to concrete contracts so flows follow calls like IOracle(addr).price() into the chosen implementation's body. Rebuilds flows instantly (no recompile). Bound edges are marked as asserted, not proven.
Args:
repo_path: Project root.
bindings: {"IInterface": "ConcreteContract", ...}. Map an interface to ""
to remove its binding.
replace: Replace all current bindings instead of merging.
save: Persist the resulting bindings to the [bindings] table of
solflow.toml (only that table is rewritten).
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": {
"repo_path": "<repo_path>",
"bindings": "<bindings>"
},
"name": "set_interface_bindings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| replace | No | ||
| bindings | Yes | ||
| repo_path | Yes |