UNPKG

@mastra/core

Version:
26 lines 1.52 kB
import type { MastraMemory } from '../../../memory/memory.js'; import type { StorageThreadType } from '../../../memory/types.js'; import type { Span, SpanType } from '../../../observability/index.js'; import type { RequestContext } from '../../../request-context/index.js'; import type { InnerAgentExecutionOptions } from '../../agent.types.js'; import type { AgentMethodType } from '../../types.js'; import type { PrepareStreamRunScope } from './run-scope.js'; import type { AgentCapabilities } from './schema.js'; interface PrepareToolsStepOptions<OUTPUT = undefined> { capabilities: AgentCapabilities; options: InnerAgentExecutionOptions<OUTPUT>; threadFromArgs?: (Partial<StorageThreadType> & { id: string; }) | undefined; resourceId?: string; runId: string; requestContext: RequestContext; agentSpan?: Span<SpanType.AGENT_RUN>; methodType: AgentMethodType; memory?: MastraMemory; backgroundTaskEnabled?: boolean; runScope: PrepareStreamRunScope<OUTPUT>; } export declare function createPrepareToolsStep<OUTPUT = undefined>({ capabilities, options, threadFromArgs, resourceId, runId, requestContext, agentSpan, methodType, memory: _memory, backgroundTaskEnabled, runScope, }: PrepareToolsStepOptions<OUTPUT>): import("../../../workflows").Step<"prepare-tools-step", unknown, Record<string, never>, Record<string, never>, unknown, unknown, import("../../../workflows").DefaultEngineType, unknown>; export {}; //# sourceMappingURL=prepare-tools-step.d.ts.map