Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import { type AcpToolCallState } from "../AcpRuntimeModel.ts";
export const toolCall = (detail: string | undefined, status?: AcpToolCallState["status"]) =>
({
toolCallId: "tool-1",
title: "Grok Tool",
...(status ? { status } : {}),
...(detail ? { detail } : {}),
data: {},
}) satisfies AcpToolCallState;