n8n-nodes-test-node 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,10 +14,19 @@ npm install n8n-nodes-test-node
14
14
 
15
15
  ## What was generated
16
16
 
17
- - 12 resource(s), 61 operation(s).
17
+ - Node type(s) in this package: **remoteChromiumCDPAutomationAPI**, **remoteChromiumCDPAutomationAPITool** (AI Agent tool).
18
+ - 12 resource(s), 61 operation(s) (identical parameter set on both the regular node and the tool node -- they share the same credential and routing, differing only in identity and how they present themselves).
18
19
  - Credential type **remoteChromiumCDPAutomationAPIApi**, with an editable **Base URL** field, plus: API Key / Bearer token field(s) per the spec's security scheme.
19
20
  - Default Base URL: `https://api.example.com/v1` (the spec declared no `servers[0].url`, so this is a placeholder -- edit the credential's "Base URL" field before using the node)
20
21
 
22
+ ## Using the AI Agent tool node
23
+
24
+ This package includes a node with `usableAsTool: true` set, so it can be attached directly to an n8n **AI Agent** node's tool list.
25
+
26
+ **This requires the n8n instance itself to allow it** -- community-node tools are opt-in at the instance level. Set the environment variable `N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true` on the n8n server (not on this package), then restart n8n, before the tool node will show up as available to an Agent. This also requires a reasonably recent n8n version (the AI Agent / LangChain tool-node support is a relatively recent addition to n8n).
27
+
28
+ Once installed and enabled, add an **AI Agent** node to your workflow, and this tool will be selectable in its tools list, using the same operations and fields as the regular node -- an Agent can choose the resource/operation and fill in parameters itself.
29
+
21
30
  ## Limitations
22
31
 
23
32
  - Only OpenAPI 3.x is supported.
@@ -0,0 +1,4 @@
1
+ import type { INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class RemoteChromiumCDPAutomationAPIToolNode implements INodeType {
3
+ description: INodeTypeDescription;
4
+ }