@mondaydotcomorg/agent-toolkit 2.24.1 → 2.24.2

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.
@@ -885,7 +885,7 @@
885
885
  }
886
886
  }
887
887
  }
888
- `,mN={boardId:e.z.number().describe("The id of the board to get items from"),itemIds:e.z.array(e.z.number()).optional().describe("The ids of the items to get. The count of items should be less than 100."),searchTerm:e.z.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:e.z.number().min(1).max(500).optional().default(25).describe("The number of items to get"),cursor:e.z.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:e.z.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:e.z.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:e.z.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:e.z.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:e.z.array(e.z.object({columnId:e.z.string().describe("The id of the column to filter by"),compareAttribute:e.z.string().optional().describe("The attribute to compare the value to"),compareValue:e.z.union([e.z.string(),e.z.number(),e.z.boolean(),e.z.array(e.z.union([e.z.string(),e.z.number()]))]).describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:e.z.nativeEnum(Cx).optional().default(Cx.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:e.z.nativeEnum(Px).optional().default(Px.And).describe("The operator to use for the filters"),columnIds:e.z.array(e.z.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:e.z.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:e.z.array(e.z.object({columnId:e.z.string().describe("The id of the column to order by"),direction:e.z.nativeEnum(Rx).optional().default(Rx.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 uN={boardId:e.z.number().describe("The id of the board to get the schema of")};const hN=MT`
888
+ `,mN={boardId:e.z.number().describe("The id of the board to get items from"),itemIds:e.z.array(e.z.number()).optional().describe("The ids of the items to get. The count of items should be less than 100."),searchTerm:e.z.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:e.z.number().min(1).max(500).optional().default(25).describe("The number of items to get"),cursor:e.z.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:e.z.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:e.z.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:e.z.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:e.z.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:e.z.array(e.z.object({columnId:e.z.string().describe("The id of the column to filter by"),compareAttribute:e.z.string().optional().describe("The attribute to compare the value to. This is OPTIONAL property."),compareValue:e.z.union([e.z.string(),e.z.number(),e.z.boolean(),e.z.array(e.z.union([e.z.string(),e.z.number()]))]).describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:e.z.nativeEnum(Cx).optional().default(Cx.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:e.z.nativeEnum(Px).optional().default(Px.And).describe("The operator to use for the filters"),columnIds:e.z.array(e.z.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:e.z.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:e.z.array(e.z.object({columnId:e.z.string().describe("The id of the column to order by"),direction:e.z.nativeEnum(Rx).optional().default(Rx.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 uN={boardId:e.z.number().describe("The id of the board to get the schema of")};const hN=MT`
889
889
  query GetColumnTypeSchema($type: ColumnType!) {
890
890
  get_column_type_schema(type: $type)
891
891
  }
@@ -1281,7 +1281,7 @@
1281
1281
  }
1282
1282
  }
1283
1283
  }
1284
- `,vA=new Set([x_.Case,x_.Between,x_.Left,x_.Raw,x_.None,x_.CountKeys]),gA=Object.values(x_).filter((e=>!vA.has(e))),bA=new Set([x_.Left,x_.Trim,x_.Upper,x_.Lower,x_.DateTruncDay,x_.DateTruncWeek,x_.DateTruncMonth,x_.DateTruncQuarter,x_.DateTruncYear,x_.Color,x_.Label,x_.EndDate,x_.StartDate,x_.Hour,x_.PhoneCountryShortName,x_.Person,x_.Upper,x_.Lower,x_.Order,x_.Length,x_.Flatten,x_.IsDone]);function yA(e){return{column_id:e}}new Set([x_.Count,x_.CountDistinct,x_.CountSubitems,x_.CountItems,x_.First,x_.Sum,x_.Average,x_.Median,x_.Min,x_.Max,x_.MinMax]);const wA={boardId:e.z.number().describe("The id of the board to get insights for"),aggregationsStringified:e.z.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:e.z.array(e.z.object({function:e.z.enum(gA).describe("The function of the aggregation. For simple column value leave undefined").optional(),columnId:e.z.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:e.z.array(e.z.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:e.z.number().describe("The limit of the results").max(1e3).optional().default(1e3),filtersStringified:e.z.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:e.z.array(e.z.object({columnId:e.z.string().describe("The id of the column to filter by"),compareAttribute:e.z.string().optional().describe("The attribute to compare the value to"),compareValue:e.z.any().describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:e.z.nativeEnum(Cx).optional().default(Cx.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:e.z.nativeEnum(Px).optional().default(Px.And).describe("The logical operator to use for the filters"),orderByStringified:e.z.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:e.z.array(e.z.object({columnId:e.z.string().describe("The id of the column to order by"),direction:e.z.nativeEnum(Rx).optional().default(Rx.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 _A=MT`
1284
+ `,vA=new Set([x_.Case,x_.Between,x_.Left,x_.Raw,x_.None,x_.CountKeys]),gA=Object.values(x_).filter((e=>!vA.has(e))),bA=new Set([x_.Left,x_.Trim,x_.Upper,x_.Lower,x_.DateTruncDay,x_.DateTruncWeek,x_.DateTruncMonth,x_.DateTruncQuarter,x_.DateTruncYear,x_.Color,x_.Label,x_.EndDate,x_.StartDate,x_.Hour,x_.PhoneCountryShortName,x_.Person,x_.Upper,x_.Lower,x_.Order,x_.Length,x_.Flatten,x_.IsDone]);function yA(e){return{column_id:e}}new Set([x_.Count,x_.CountDistinct,x_.CountSubitems,x_.CountItems,x_.First,x_.Sum,x_.Average,x_.Median,x_.Min,x_.Max,x_.MinMax]);const wA={boardId:e.z.number().describe("The id of the board to get insights for"),aggregationsStringified:e.z.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:e.z.array(e.z.object({function:e.z.enum(gA).describe("The function of the aggregation. For simple column value leave undefined").optional(),columnId:e.z.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:e.z.array(e.z.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:e.z.number().describe("The limit of the results").max(1e3).optional().default(1e3),filtersStringified:e.z.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:e.z.array(e.z.object({columnId:e.z.string().describe("The id of the column to filter by"),compareAttribute:e.z.string().optional().describe("The attribute to compare the value to. This is OPTIONAL property."),compareValue:e.z.any().describe("The value to compare the attribute to. This can be a string or index value depending on the column type."),operator:e.z.nativeEnum(Cx).optional().default(Cx.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:e.z.nativeEnum(Px).optional().default(Px.And).describe("The logical operator to use for the filters"),orderByStringified:e.z.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:e.z.array(e.z.object({columnId:e.z.string().describe("The id of the column to order by"),direction:e.z.nativeEnum(Rx).optional().default(Rx.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 _A=MT`
1285
1285
  query GetBoards($page: Int!, $limit: Int!, $workspace_ids: [ID]) {
1286
1286
  boards(page: $page, limit: $limit, workspace_ids: $workspace_ids) {
1287
1287
  id