{"version":"2.1.336","anchor":"workflow-tool-validation-reworked","canonical_anchor":"workflow-tool-validation-reworked","heading":"Workflow calls that send both a script and a name or path are now refused","tier":"notice","area":"Workflows","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/workflow-tool-validation-reworked","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Workflow calls that send both a script and a name or path are now refused\n\nIn some sessions, a workflow call that sends an inline script along with a name or scriptPath is refused, and named workflow files get the hidden-character check\n\n**What**\n\nThe Workflow tool now refuses a call that sends an inline script together with a workflow name or a `scriptPath`. This only applies in some sessions, and the error says: \"In this session, send either script, or a name or scriptPath, not both.\"\n\nThe check for invisible characters, which used to look only at an inline script, now also covers named workflow files.\n\n**Why**\n\nIt changes which workflow calls Claude Code accepts. In those sessions, a call has to pick one way of naming the workflow instead of mixing them.\n\n- Area: Workflows\n- Names: `scriptPath`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}