import {
  getAgent
} from "./chunk-IUP5IHBD.js";
import "./chunk-CAY57CKF.js";
import "./chunk-KOO5733S.js";

// src/tools/get-agent.ts
async function handleGetAgent(params) {
  const agent = await getAgent(params.id);
  const lines = [];
  lines.push(`# ${agent.name}
`);
  lines.push(`**ID**: ${agent.id}`);
  lines.push(`**Type**: ${agent.type}`);
  lines.push(`**Created**: ${agent.createdAt}`);
  lines.push(`**Updated**: ${agent.updatedAt}`);
  if (agent.config && Object.keys(agent.config).length > 0) {
    lines.push("\n## Config\n");
    lines.push("```json");
    lines.push(JSON.stringify(agent.config, null, 2));
    lines.push("```");
  }
  return lines.join("\n");
}
export {
  handleGetAgent
};
//# sourceMappingURL=get-agent-IZSP7AR5.js.map