Attention
IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include ranges, enum and I/O mapping.
P8001¶
- Code
P8001
- Message
MCP tool input validation error
This error occurs when an MCP tool receives inputs that fail validation
before the compiler runs. The tool returns this diagnostic with ok: false
and does not proceed to parsing or analysis.
Common causes¶
A source entry has an empty
name.A source
nameexceeds 256 bytes.A source
namecontains characters outside the allowed set (printable ASCII:0x20–0x7E).Two source entries share the same
name.The
optionsobject is missing the requireddialectkey.The
options.dialectvalue is not a known dialect (uselist_optionsto see valid values).The
optionsobject contains an unrecognised key.
To fix this error, correct the tool input and call the tool again.
Use the list_options tool to discover the valid dialect identifiers and
feature-flag keys.