コンテンツにスキップ

ComputerUseCallItem

このコンテンツはまだ日本語訳がありません。

type ComputerUseCallItem = object;
action:
| {
type: "screenshot";
}
| {
button: "left" | "right" | "wheel" | "back" | "forward";
type: "click";
x: number;
y: number;
}
| {
type: "double_click";
x: number;
y: number;
}
| {
scroll_x: number;
scroll_y: number;
type: "scroll";
x: number;
y: number;
}
| {
text: string;
type: "type";
}
| {
type: "wait";
}
| {
type: "move";
x: number;
y: number;
}
| {
keys: string[];
type: "keypress";
}
| {
path: object[];
type: "drag";
};
callId: string;
optional id: string;
optional providerData: Record<string, any>;
status: "in_progress" | "completed" | "incomplete";
type: "computer_call";