Guide / Every rule
fromAi() parameter without a description or a type
The check agents/fromai-incomplete, in the group AI agents.
Why it matters
fromAi() is how a tool tells the model which parameters it takes. Without a description the model does not know what to put there, and without a type it sends text where a number or a list may be needed.
How to fix it
Give the call a description and a type: fromAi(toolCall.name, "What it is", "string").
Where you see it
The Problems tab of the BPMN editor lists it, the Agents tab shows it on the agent it belongs to, and penstock check reports it as agents/fromai-incomplete. It runs on .bpmn files and is free.
Rule details
| Id | agents/fromai-incomplete |
| Group | AI agents |
| Level | Advice: it works, and reads or runs better without it |
Read more: AI agents of Camunda 8. All rules: Every rule.