@mondaydotcomorg/agent-toolkit 2.24.1 → 2.24.3

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.
@@ -884,7 +884,7 @@ import{ApiClient as e}from"@mondaydotcomorg/api";import{z as a}from"zod";import
884
884
  }
885
885
  }
886
886
  }
887
- `,$_={boardId:a.number().describe("The id of the board to get items from"),itemIds:a.array(a.number()).optional().describe("The ids of the items to get. The count of items should be less than 100."),searchTerm:a.string().optional().describe('\n The search term to use for the search.\n - Use this when: the user provides a vague, incomplete, or approximate search term (e.g., “marketing campaign”, “John’s task”, “budget-related”), and there isn’t a clear exact compare value for a specific field.\n - Do not use this when: the user specifies an exact value that maps directly to a column comparison (e.g., name contains "marketing campaign", status = "Done", priority = "High", owner = "Daniel"). In these cases, prefer structured compare filters.\n '),limit:a.number().min(1).max(500).optional().default(25).describe("The number of items to get"),cursor:a.string().optional().describe("The cursor to get the next page of items, use the nextCursor from the previous response. If the nextCursor was null, it means there are no more items to get"),includeColumns:a.boolean().optional().default(!1).describe("Whether to include column values in the response.\nPERFORMANCE OPTIMIZATION: Only set this to true when you actually need the column data. Excluding columns significantly reduces token usage and improves response latency. If you only need to count items, get item IDs/names, or check if items exist, keep this false."),includeSubItems:a.boolean().optional().default(!1).describe("Whether to include sub items in the response. PERFORMANCE OPTIMIZATION: Only set this to true when you actually need the sub items data."),subItemLimit:a.number().min(1).max(100).optional().default(25).describe("The number of sub items to get per item. This is only used when includeSubItems is true."),filtersStringified:a.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The filters to apply on the items. Send this as a stringified JSON array of "filters" field. Read "filters" field description for details how to use it.'),filters:a.array(a.object({columnId:a.string().describe("The id of the column to filter by"),compareAttribute:a.string().optional().describe("The attribute to compare the value to"),compareValue:a.union([a.string(),a.number(),a.boolean(),a.array(a.union([a.string(),a.number()]))]).describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:a.nativeEnum(tb).optional().default(tb.AnyOf).describe("The operator to use for the filter")})).optional().describe('The configuration of filters to apply on the items. Before sending the filters, use get_board_info tool to check "filteringGuidelines" key for filtering by the column.'),filtersOperator:a.nativeEnum(ab).optional().default(ab.And).describe("The operator to use for the filters"),columnIds:a.array(a.string()).optional().describe("The ids of the item columns and subitem columns to get, can be used to reduce the response size when user asks for specific columns. Works only when includeColumns is true. If not provided, all columns will be returned"),orderByStringified:a.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The order by to apply on the items. Send this as a stringified JSON array of "orderBy" field. Read "orderBy" field description for details how to use it.'),orderBy:a.array(a.object({columnId:a.string().describe("The id of the column to order by"),direction:a.nativeEnum(eb).optional().default(eb.Asc).describe("The direction to order by")})).optional().describe("The columns to order by, will control the order of the items in the response")};const L_={boardId:a.number().describe("The id of the board to get the schema of")};const F_=cw`
887
+ `,$_={boardId:a.number().describe("The id of the board to get items from"),itemIds:a.array(a.number()).optional().describe("The ids of the items to get. The count of items should be less than 100."),searchTerm:a.string().optional().describe('\n The search term to use for the search.\n - Use this when: the user provides a vague, incomplete, or approximate search term (e.g., “marketing campaign”, “John’s task”, “budget-related”), and there isn’t a clear exact compare value for a specific field.\n - Do not use this when: the user specifies an exact value that maps directly to a column comparison (e.g., name contains "marketing campaign", status = "Done", priority = "High", owner = "Daniel"). In these cases, prefer structured compare filters.\n '),limit:a.number().min(1).max(500).optional().default(25).describe("The number of items to get"),cursor:a.string().optional().describe("The cursor to get the next page of items, use the nextCursor from the previous response. If the nextCursor was null, it means there are no more items to get"),includeColumns:a.boolean().optional().default(!1).describe("Whether to include column values in the response.\nPERFORMANCE OPTIMIZATION: Only set this to true when you actually need the column data. Excluding columns significantly reduces token usage and improves response latency. If you only need to count items, get item IDs/names, or check if items exist, keep this false."),includeSubItems:a.boolean().optional().default(!1).describe("Whether to include sub items in the response. PERFORMANCE OPTIMIZATION: Only set this to true when you actually need the sub items data."),subItemLimit:a.number().min(1).max(100).optional().default(25).describe("The number of sub items to get per item. This is only used when includeSubItems is true."),filtersStringified:a.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The filters to apply on the items. Send this as a stringified JSON array of "filters" field. Read "filters" field description for details how to use it.'),filters:a.array(a.object({columnId:a.string().describe("The id of the column to filter by"),compareAttribute:a.string().optional().describe("The attribute to compare the value to. This is OPTIONAL property."),compareValue:a.union([a.string(),a.number(),a.boolean(),a.array(a.union([a.string(),a.number()]))]).describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:a.nativeEnum(tb).optional().default(tb.AnyOf).describe("The operator to use for the filter")})).optional().describe('The configuration of filters to apply on the items. Before sending the filters, use get_board_info tool to check "filteringGuidelines" key for filtering by the column.'),filtersOperator:a.nativeEnum(ab).optional().default(ab.And).describe("The operator to use for the filters"),columnIds:a.array(a.string()).optional().describe("The ids of the item columns and subitem columns to get, can be used to reduce the response size when user asks for specific columns. Works only when includeColumns is true. If not provided, all columns will be returned"),orderByStringified:a.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The order by to apply on the items. Send this as a stringified JSON array of "orderBy" field. Read "orderBy" field description for details how to use it.'),orderBy:a.array(a.object({columnId:a.string().describe("The id of the column to order by"),direction:a.nativeEnum(eb).optional().default(eb.Asc).describe("The direction to order by")})).optional().describe("The columns to order by, will control the order of the items in the response")};const L_={boardId:a.number().describe("The id of the board to get the schema of")};const F_=cw`
888
888
  query GetColumnTypeSchema($type: ColumnType!) {
889
889
  get_column_type_schema(type: $type)
890
890
  }
@@ -1280,7 +1280,7 @@ import{ApiClient as e}from"@mondaydotcomorg/api";import{z as a}from"zod";import
1280
1280
  }
1281
1281
  }
1282
1282
  }
1283
- `,PT=new Set([Hv.Case,Hv.Between,Hv.Left,Hv.Raw,Hv.None,Hv.CountKeys]),VT=Object.values(Hv).filter((e=>!PT.has(e))),UT=new Set([Hv.Left,Hv.Trim,Hv.Upper,Hv.Lower,Hv.DateTruncDay,Hv.DateTruncWeek,Hv.DateTruncMonth,Hv.DateTruncQuarter,Hv.DateTruncYear,Hv.Color,Hv.Label,Hv.EndDate,Hv.StartDate,Hv.Hour,Hv.PhoneCountryShortName,Hv.Person,Hv.Upper,Hv.Lower,Hv.Order,Hv.Length,Hv.Flatten,Hv.IsDone]);function BT(e){return{column_id:e}}new Set([Hv.Count,Hv.CountDistinct,Hv.CountSubitems,Hv.CountItems,Hv.First,Hv.Sum,Hv.Average,Hv.Median,Hv.Min,Hv.Max,Hv.MinMax]);const MT={boardId:a.number().describe("The id of the board to get insights for"),aggregationsStringified:a.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The aggregations to get. Send this as a stringified JSON array of "aggregations" field. Read "aggregations" field description for details how to use it.'),aggregations:a.array(a.object({function:a.enum(VT).describe("The function of the aggregation. For simple column value leave undefined").optional(),columnId:a.string().describe("The id of the column to aggregate")})).describe("The aggregations to get. Transformative functions and plain columns (no function) must be in group by. [REQUIRED PRECONDITION]: Either send this field or the stringified version of it.").optional(),groupBy:a.array(a.string()).describe("The columns to group by. All columns in the group by must be in the aggregations as well without a function.").optional(),limit:a.number().describe("The limit of the results").max(1e3).optional().default(1e3),filtersStringified:a.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The filters to apply on the items. Send this as a stringified JSON array of "filters" field. Read "filters" field description for details how to use it.'),filters:a.array(a.object({columnId:a.string().describe("The id of the column to filter by"),compareAttribute:a.string().optional().describe("The attribute to compare the value to"),compareValue:a.any().describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:a.nativeEnum(tb).optional().default(tb.AnyOf).describe("The operator to use for the filter")})).optional().describe('The configuration of filters to apply on the items. Before sending the filters, use get_board_info tool to check "filteringGuidelines" key for filtering by the column.'),filtersOperator:a.nativeEnum(ab).optional().default(ab.And).describe("The logical operator to use for the filters"),orderByStringified:a.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The order by to apply on the items. Send this as a stringified JSON array of "orderBy" field. Read "orderBy" field description for details how to use it.'),orderBy:a.array(a.object({columnId:a.string().describe("The id of the column to order by"),direction:a.nativeEnum(eb).optional().default(eb.Asc).describe("The direction to order by")})).optional().describe("The columns to order by, will control the order of the items in the response")};const qT=cw`
1283
+ `,PT=new Set([Hv.Case,Hv.Between,Hv.Left,Hv.Raw,Hv.None,Hv.CountKeys]),VT=Object.values(Hv).filter((e=>!PT.has(e))),UT=new Set([Hv.Left,Hv.Trim,Hv.Upper,Hv.Lower,Hv.DateTruncDay,Hv.DateTruncWeek,Hv.DateTruncMonth,Hv.DateTruncQuarter,Hv.DateTruncYear,Hv.Color,Hv.Label,Hv.EndDate,Hv.StartDate,Hv.Hour,Hv.PhoneCountryShortName,Hv.Person,Hv.Upper,Hv.Lower,Hv.Order,Hv.Length,Hv.Flatten,Hv.IsDone]);function BT(e){return{column_id:e}}new Set([Hv.Count,Hv.CountDistinct,Hv.CountSubitems,Hv.CountItems,Hv.First,Hv.Sum,Hv.Average,Hv.Median,Hv.Min,Hv.Max,Hv.MinMax]);const MT={boardId:a.number().describe("The id of the board to get insights for"),aggregationsStringified:a.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The aggregations to get. Send this as a stringified JSON array of "aggregations" field. Read "aggregations" field description for details how to use it.'),aggregations:a.array(a.object({function:a.enum(VT).describe("The function of the aggregation. For simple column value leave undefined").optional(),columnId:a.string().describe("The id of the column to aggregate")})).describe("The aggregations to get. Transformative functions and plain columns (no function) must be in group by. [REQUIRED PRECONDITION]: Either send this field or the stringified version of it.").optional(),groupBy:a.array(a.string()).describe("The columns to group by. All columns in the group by must be in the aggregations as well without a function.").optional(),limit:a.number().describe("The limit of the results").max(1e3).optional().default(1e3),filtersStringified:a.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The filters to apply on the items. Send this as a stringified JSON array of "filters" field. Read "filters" field description for details how to use it.'),filters:a.array(a.object({columnId:a.string().describe("The id of the column to filter by"),compareAttribute:a.string().optional().describe("The attribute to compare the value to. This is OPTIONAL property."),compareValue:a.any().describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:a.nativeEnum(tb).optional().default(tb.AnyOf).describe("The operator to use for the filter")})).optional().describe('The configuration of filters to apply on the items. Before sending the filters, use get_board_info tool to check "filteringGuidelines" key for filtering by the column.'),filtersOperator:a.nativeEnum(ab).optional().default(ab.And).describe("The logical operator to use for the filters"),orderByStringified:a.string().optional().describe('**ONLY FOR MICROSOFT COPILOT**: The order by to apply on the items. Send this as a stringified JSON array of "orderBy" field. Read "orderBy" field description for details how to use it.'),orderBy:a.array(a.object({columnId:a.string().describe("The id of the column to order by"),direction:a.nativeEnum(eb).optional().default(eb.Asc).describe("The direction to order by")})).optional().describe("The columns to order by, will control the order of the items in the response")};const qT=cw`
1284
1284
  query GetBoards($page: Int!, $limit: Int!, $workspace_ids: [ID]) {
1285
1285
  boards(page: $page, limit: $limit, workspace_ids: $workspace_ids) {
1286
1286
  id
@@ -1303,7 +1303,7 @@ import{ApiClient as e}from"@mondaydotcomorg/api";import{z as a}from"zod";import
1303
1303
  name
1304
1304
  }
1305
1305
  }
1306
- `;var zT,WT;!function(e){e.BOARD="board-",e.DOCUMENT="doc-",e.FOLDER="folder-"}(zT||(zT={})),function(e){e.BOARD="BOARD",e.DOCUMENTS="DOCUMENTS",e.FOLDERS="FOLDERS"}(WT||(WT={}));const YT=100,KT={searchTerm:a.string().optional().describe("The search term to use for the search."),searchType:a.nativeEnum(WT).describe("The type of search to perform."),limit:a.number().max(YT).optional().default(YT).describe("The number of items to get. The max and default value is 100."),page:a.number().optional().default(1).describe("The page number to get. The default value is 1."),workspaceIds:a.array(a.number()).optional().describe("The ids of the workspaces to search in. Pass if you want to search only in specific workspaces.")};a.enum(["enable","disable","status","list","detailed","reset"]).describe('Action to perform: "list" or "detailed" to discover available tools, "status" to check current states, "enable" to activate needed tools, "disable" to deactivate tools, "reset" to restore defaults'),a.string().optional().describe("Name of the tool to manage (required for enable/disable/status/reset)");const JT=cw`
1306
+ `;var zT,WT;!function(e){e.BOARD="board-",e.DOCUMENT="doc-",e.FOLDER="folder-"}(zT||(zT={})),function(e){e.BOARD="BOARD",e.DOCUMENTS="DOCUMENTS",e.FOLDERS="FOLDERS"}(WT||(WT={}));const YT=100,KT={searchTerm:a.string().optional().describe("The search term to use for the search."),searchType:a.nativeEnum(WT).describe("The type of search to perform."),limit:a.number().max(YT).optional().default(YT).describe("The number of items to get. The max and default value is 100."),page:a.number().optional().default(1).describe("The page number to get. The default value is 1."),workspaceIds:a.array(a.number()).optional().describe("The ids of the workspaces to search in. [IMPORTANT] Only pass this param if user explicitly asked to search within specific workspaces.")};a.enum(["enable","disable","status","list","detailed","reset"]).describe('Action to perform: "list" or "detailed" to discover available tools, "status" to check current states, "enable" to activate needed tools, "disable" to deactivate tools, "reset" to restore defaults'),a.string().optional().describe("Name of the tool to manage (required for enable/disable/status/reset)");const JT=cw`
1307
1307
  query getSprintsByIds($ids: [ID!]) {
1308
1308
  items(ids: $ids) {
1309
1309
  id