Guide / Every rule
fromAi() key that is not a plain name under toolCall
The check compat/agent-fromai-contract, in the group Engine compatibility.
Why it matters
The agent fills a tool parameter through fromAi(toolCall.name); a key written any other way is not found, so the parameter stays empty.
How to fix it
Write the key as toolCall.name: a single name, with dots, and no quotes, brackets or arithmetic.
Where you see it
The Problems tab lists it under Engine, the editor marks the element on the canvas, and penstock check reports it as compat/agent-fromai-contract. It checks the diagram against the engine and the version it is written for: the version in the file's modeler:executionPlatformVersion, or the newest one when the file has none. Operaton and CIB seven are checked as Camunda 7. This check is free.
To turn it off, set camunda-compat/agent-fromai-contract or compat/agent-fromai-contract to off in your .bpmnlintrc. See Validation.
Rule details
| Id | compat/agent-fromai-contract |
| Group | Engine compatibility |
| Level | Error: the diagram or the process is wrong |
Read more: Validation. All rules: Every rule.