@mariozechner/pi-agent
Version:
General-purpose agent with tool calling and session persistence
93 lines • 2.26 kB
TypeScript
import type { ChatCompletionTool } from "openai/resources";
export declare const toolsForResponses: ({
type: "function";
name: string;
description: string;
parameters: {
type: string;
properties: {
path: {
type: string;
description: string;
};
command?: undefined;
pattern?: undefined;
args?: undefined;
};
required: string[];
};
} | {
type: "function";
name: string;
description: string;
parameters: {
type: string;
properties: {
path: {
type: string;
description: string;
};
command?: undefined;
pattern?: undefined;
args?: undefined;
};
required?: undefined;
};
} | {
type: "function";
name: string;
description: string;
parameters: {
type: string;
properties: {
command: {
type: string;
description: string;
};
path?: undefined;
pattern?: undefined;
args?: undefined;
};
required: string[];
};
} | {
type: "function";
name: string;
description: string;
parameters: {
type: string;
properties: {
pattern: {
type: string;
description: string;
};
path: {
type: string;
description: string;
};
command?: undefined;
args?: undefined;
};
required: string[];
};
} | {
type: "function";
name: string;
description: string;
parameters: {
type: string;
properties: {
args: {
type: string;
description: string;
};
path?: undefined;
command?: undefined;
pattern?: undefined;
};
required: string[];
};
})[];
export declare const toolsForChat: ChatCompletionTool[];
export declare function executeTool(name: string, args: string, signal?: AbortSignal): Promise<string>;
//# sourceMappingURL=tools.d.ts.map