@arcgis/ai-agents 5.1.0-next.37 → 5.1.0-next.38

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.
@@ -0,0 +1,3 @@
1
+ import { RunnableConfig } from '@langchain/core/runnables';
2
+ import { HelpGraphStateType } from '../state/helpState';
3
+ export declare function helpToolCalling(state: HelpGraphStateType, config?: RunnableConfig): Promise<HelpGraphStateType>;
@@ -0,0 +1,11 @@
1
+ export declare const helpTools: import('@langchain/core/tools').DynamicStructuredTool<import('zod').ZodObject<{
2
+ layerTitle: import('zod').ZodString;
3
+ }, "strip", import('zod').ZodTypeAny, {
4
+ layerTitle: string;
5
+ }, {
6
+ layerTitle: string;
7
+ }>, {
8
+ layerTitle: string;
9
+ }, {
10
+ layerTitle: string;
11
+ }, string, "listLayerFields">[];
@@ -0,0 +1,12 @@
1
+ import { default as z } from 'zod';
2
+ export declare const listLayerFieldsTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{
3
+ layerTitle: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ layerTitle: string;
6
+ }, {
7
+ layerTitle: string;
8
+ }>, {
9
+ layerTitle: string;
10
+ }, {
11
+ layerTitle: string;
12
+ }, string, "listLayerFields">;
@@ -0,0 +1,2 @@
1
+ import { LayersAndFieldsRegistry } from '@arcgis/ai-orchestrator';
2
+ export declare const listLayerFields: (layersAndFieldsRegistry: LayersAndFieldsRegistry, layerTitle: string) => string;
@@ -0,0 +1 @@
1
+ export * from './adapter';
@@ -13,7 +13,7 @@ Look at the **latest** user message from the chat history.
13
13
  ### Rules
14
14
 
15
15
  - "What layers are in this map?" → List the layer names
16
- - "What fields are in this layer?" → List the field names for that layer
16
+ - "What fields are in this layer?" → Call the tool to list the field names for that layer
17
17
  - "What can you do?" / "What can I ask?" → Suggest specific queries using EXACT layer and field names from the context above
18
18
  - "Tell me about this map" → Summarize layers and capabilities
19
19
  - "Create a chart of all wells ans their depth" → If a question is map related but not supported by available capabilities, say so. Add that support for this might be added in the future.