import { APIResource } from "../../core/resource.mjs"; import * as Shared from "../shared.mjs"; import * as ToolSetsToolsAPI from "../tool-sets/tools.mjs"; import { CursorPagination, type CursorPaginationParams, PagePromise } from "../../core/pagination.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class Tools extends APIResource { /** * Lists all tools that were assigned to an objective */ list(objectiveID: string, query?: ToolListParams | null | undefined, options?: RequestOptions): PagePromise; } export type ObjectiveToolsCursorPagination = CursorPagination; /** * ObjectiveTool represents a tool that was assigned to an objective. */ export interface ObjectiveTool { /** * BareMetadata contains the minimal metadata for a resource, including the ID. * These are used sparingly in Cadenya for resources where the full metadata is not * needed. You will come across them in list responses and other places where the * full metadata is not required like listing the tools that were assigned to an * objective. Because these types records are commonly created by other processes * in Cadenya, they do not have things like external IDs, labels, or names. */ metadata: Shared.BareMetadata; /** * Snapshot of the tool at the time it was assigned to the objective. Because tools * can change over time, snapshots are used to ensure tools don't change * unexpectedly during an objective's lifecycle. */ snapshot?: ToolSetsToolsAPI.Tool; } export interface ToolListParams extends CursorPaginationParams { } export declare namespace Tools { export { type ObjectiveTool as ObjectiveTool, type ObjectiveToolsCursorPagination as ObjectiveToolsCursorPagination, type ToolListParams as ToolListParams, }; } //# sourceMappingURL=tools.d.mts.map