openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
9 lines (8 loc) • 358 B
JavaScript
import { i as asOptionalObjectRecord } from "./record-coerce-CVPuDqcc.mjs";
//#region src/agents/embedded-agent-runner/run/attempt-tool-call-block-type.ts
function isRunnerToolCallBlock(e) {
const t = asOptionalObjectRecord(e)?.type;
return t === "toolCall" || t === "toolUse" || t === "functionCall";
}
//#endregion
export { isRunnerToolCallBlock as t };