method_set_source
Replace a Plant Simulation Method's SimTalk source and read it back to verify the write, so updated model logic is stored correctly.
Instructions
Replace a Method's SimTalk source; the write is read back and compared.
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": {
"path": "<path>",
"source": "<source>"
},
"name": "method_set_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| source | Yes | ||
| work_dir | No | ||
| model_root | No |