import {
  DELEGATE_FEEDBACK_DESCRIPTION,
  DELEGATE_FEEDBACK_INPUT_SCHEMA,
  DELEGATE_FEEDBACK_TOOL_NAME,
  DELEGATION_HISTORY_DESCRIPTION,
  DELEGATION_HISTORY_INPUT_SCHEMA,
  DELEGATION_HISTORY_TOOL_NAME,
  DELEGATION_STATUS_DESCRIPTION,
  DELEGATION_STATUS_INPUT_SCHEMA,
  DELEGATION_STATUS_TOOL_NAME
} from "./chunk-SSA6OERV.js";

// src/mcp/openai-tools.ts
function buildTool(name, description, parameters) {
  return {
    type: "function",
    function: { name, description, parameters: { ...parameters } }
  };
}
function mcpToolsForRuntimeMcp() {
  return [
    buildTool(
      DELEGATE_FEEDBACK_TOOL_NAME,
      DELEGATE_FEEDBACK_DESCRIPTION,
      DELEGATE_FEEDBACK_INPUT_SCHEMA
    ),
    buildTool(
      DELEGATION_STATUS_TOOL_NAME,
      DELEGATION_STATUS_DESCRIPTION,
      DELEGATION_STATUS_INPUT_SCHEMA
    ),
    buildTool(
      DELEGATION_HISTORY_TOOL_NAME,
      DELEGATION_HISTORY_DESCRIPTION,
      DELEGATION_HISTORY_INPUT_SCHEMA
    )
  ];
}
function mcpToolsForRuntimeMcpSubset(names) {
  const allowed = new Set(names);
  return mcpToolsForRuntimeMcp().filter((tool) => allowed.has(tool.function.name));
}

export {
  mcpToolsForRuntimeMcp,
  mcpToolsForRuntimeMcpSubset
};
//# sourceMappingURL=chunk-J3N6GODQ.js.map