@anthropic-ai/sdk
Version:
The official TypeScript library for the Anthropic API
15 lines • 734 B
TypeScript
import type { BetaMessageParam } from "../../../resources/beta/messages/messages.js";
import type { BetaMessageThreadFields } from "../../threads/params.js";
import type { BetaToolRunnerParams, BetaToolRunnerSettings } from "../../tools/BetaToolRunner.js";
/**
* `params` split into the runner's own settings, the `thread` choice, and the params of the thread it runs over. Throws
* on a `thread` the params type leaves out.
*/
export declare function splitToolRunnerParams(params: BetaToolRunnerParams): {
settings: BetaToolRunnerSettings;
thread: BetaToolRunnerParams['thread'];
threadParams: BetaMessageThreadFields & {
messages: BetaMessageParam[];
};
};
//# sourceMappingURL=tool-runner-params.d.ts.map