feat: Hints for tools and agent #13386
Open
+26
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
when a node-as-tool is called and there are no placeholders to be filled by AI:
No parameters are set up to be filled by AI. Add the expression {{ $fromAI('placeholder_name') }} in the relevant parameter to do so
similar one for the HTTP tool:
No parameters are set up to be filled by AI. Add {placeholder_name} to the relevant parameter to do so
on the agent: if it executes, tools are connected but no tools are called:
No tools were called. If you expected them to be, check their node names and descriptions
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/NODE-2088/add-warnings-for-tools
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)