write_project_resource
Writes JSON-serialisable or raw text data to a project-relative resource in an Ignition project, with dry-run previews and explicit confirmation to prevent unintended changes.
Instructions
Write a project resource.
Args:
resource_path: Project-relative path.
data: JSON-serialisable payload or raw text.
project: Project name; defaults to the active project.
confirm: Must be True to write.
dry_run: Preview without writing.
Returns: Write acknowledgement or a preview payload.
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": {
"resource_path": "<resource_path>",
"data": "<data>"
},
"name": "write_project_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| confirm | No | ||
| dry_run | No | ||
| project | No | ||
| resource_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||