{
  "@context": "https://schema.org",
  "@type": "NewsArticle",
  "@id": "https://new.nat6.net/news/cmorb7ml0008mslhfpq34cchl/#article",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://new.nat6.net/news/cmorb7ml0008mslhfpq34cchl/"
  },
  "url": "https://new.nat6.net/news/cmorb7ml0008mslhfpq34cchl/",
  "headline": "为智能体编写高效工具——与智能体协作",
  "description": "文章探讨如何为基于大语言模型的智能体设计高效工具。核心方法是通过与智能体（如Claude Code）协作，采用快速原型构建和全面评估的迭代流程来优化工具性能。关键设计原则包括：选择适当的工具实现范围，使用命名空间明确功能边界，从工具向智能体返回有意义的上下文，优化响应以提高token效率，以及对工具描述进行提示词工程…",
  "articleSection": "教程与技巧",
  "keywords": "AI, Anthropic：Engineering（事故复盘 + 工程实践 · 网页）",
  "datePublished": "2025-09-10T16:00:00Z",
  "dateModified": "2026-11-05T20:56:41Z",
  "inLanguage": "zh-CN",
  "isAccessibleForFree": true,
  "author": {
    "@type": "Organization",
    "name": "橙子新闻编辑部",
    "url": "https://new.nat6.net/about/"
  },
  "publisher": {
    "@type": "NewsMediaOrganization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://new.nat6.net/assets/img/logo-512.png",
      "width": 512,
      "height": 512
    }
  },
  "image": {
    "@type": "ImageObject",
    "url": "https://new.nat6.net/assets/img/og-default.png",
    "width": 1200,
    "height": 630
  },
  "isPartOf": {
    "@id": "https://new.nat6.net/#website"
  },
  "isBasedOn": "https://www.anthropic.com/engineering/writing-tools-for-agents",
  "citation": [
    "https://aihot.news/items/cmorb7ml0008mslhfpq34cchl",
    "https://www.anthropic.com/engineering/writing-tools-for-agents"
  ],
  "license": "https://new.nat6.net/sources/",
  "about": [],
  "mentions": [
    {
      "@type": "Thing",
      "name": "Anthropic：Engineering（事故复盘 + 工程实践 · 网页）"
    }
  ],
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      ".article-summary"
    ]
  },
  "copyrightHolder": {
    "@type": "Organization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/"
  },
  "creditText": "橙子新闻（AI 摘要）；原文：Anthropic：Engineering（事故复盘 + 工程实践 · 网页）",
  "copyrightNotice": "© 2025 橙子新闻。标题与 AI 摘要基于 AIHOT 公开数据，原文版权归原媒体与作者所有；本站不镜像全文。",
  "copyrightYear": 2025,
  "alternativeHeadline": "Writing effective tools for agents — with agents",
  "abstract": "Anthropic 把自家内部反复打磨的 agent 工具开发方法论完整公开了，从评估流程到 prompt 工程细节全是实操干货，做 MCP server 或 agent 工具链的人可以直接抄作业。",
  "subjectOf": [
    {
      "@type": "DigitalDocument",
      "name": "为智能体编写高效工具——与智能体协作 (Markdown)",
      "url": "https://new.nat6.net/news/cmorb7ml0008mslhfpq34cchl/index.md",
      "encodingFormat": "text/markdown"
    },
    {
      "@type": "DigitalDocument",
      "name": "为智能体编写高效工具——与智能体协作 (JSON)",
      "url": "https://new.nat6.net/api/v1/articles/cmorb7ml0008mslhfpq34cchl.json",
      "encodingFormat": "application/json"
    }
  ],
  "id": "cmorb7ml0008mslhfpq34cchl",
  "updated_at": "2026-11-05T20:56:41Z",
  "canonical": "https://new.nat6.net/news/cmorb7ml0008mslhfpq34cchl/",
  "api_url": "https://new.nat6.net/api/v1/articles/cmorb7ml0008mslhfpq34cchl.json",
  "markdown_url": "https://new.nat6.net/news/cmorb7ml0008mslhfpq34cchl/index.md",
  "topics": [],
  "related": [
    {
      "id": "p0jsxs2bnv6tmnmn1soi56759",
      "title": "Claude Code Stop hook 技巧：用 exit code 2 让 Claude 在检查失败时自动重试",
      "url": "https://new.nat6.net/news/p0jsxs2bnv6tmnmn1soi56759/",
      "lang": "zh",
      "published_at": "2026-11-13T18:43:37Z"
    },
    {
      "id": "custom-6fb5a47b9786421d",
      "title": "Gemini 4 多了个 Hydrogen：每百万输入 1.50 美元，日常写代码先用它",
      "url": "https://new.nat6.net/news/custom-6fb5a47b9786421d/",
      "lang": "zh",
      "published_at": "2026-11-13T01:22:41Z"
    },
    {
      "id": "ypeap2t8w4fqqfuvt7mw3wg79",
      "title": "Anthropic 详解常驻智能体的五个核心架构原语",
      "url": "https://new.nat6.net/news/ypeap2t8w4fqqfuvt7mw3wg79/",
      "lang": "zh",
      "published_at": "2026-11-13T00:00:00Z"
    },
    {
      "id": "custom-509d76a5b17e45d9",
      "title": "AI 代理死循环能烧多少钱？同一个错重试 41 次，4 层防护怎么设",
      "url": "https://new.nat6.net/news/custom-509d76a5b17e45d9/",
      "lang": "zh",
      "published_at": "2026-11-12T05:24:28Z"
    },
    {
      "id": "cve017k4le2q7l8x1bfr2xdjx",
      "title": "OpenRouter 详解自纠错网站本地化流水线：GPT-6.1 Sol 翻译 7 种语言全站约 $460",
      "url": "https://new.nat6.net/news/cve017k4le2q7l8x1bfr2xdjx/",
      "lang": "zh",
      "published_at": "2026-11-12T00:00:00Z"
    },
    {
      "id": "djhxmxr9hq0ekn8iwdqt5usih",
      "title": "Anthropic 发布 Claude Tag 创业公司使用指南",
      "url": "https://new.nat6.net/news/djhxmxr9hq0ekn8iwdqt5usih/",
      "lang": "zh",
      "published_at": "2026-11-12T00:00:00Z"
    }
  ],
  "citation_formats": {
    "format_zh": "橙子新闻.《文章标题》. 发布日期. https://new.nat6.net/news/cmorb7ml0008mslhfpq34cchl/",
    "format_en": "Orange News. \"Article title\". Published YYYY-MM-DD. https://new.nat6.net/news/cmorb7ml0008mslhfpq34cchl/",
    "backlink_required": true
  },
  "attribution": {
    "site": "橙子新闻",
    "source_name": "Anthropic：Engineering（事故复盘 + 工程实践 · 网页）",
    "source_url": "https://www.anthropic.com/engineering/writing-tools-for-agents",
    "aihot_url": "https://aihot.news/items/cmorb7ml0008mslhfpq34cchl",
    "zh": "内容基于 AIHOT 公开 API 的精选标题与 AI 摘要，已注明来源并回链；原文版权归原媒体与作者所有。",
    "en": "Content is based on curated titles and AI summaries from the AIHOT public API, with attribution and links back; original copyright remains with the original publishers and authors."
  },
  "source": {
    "name": "Anthropic：Engineering（事故复盘 + 工程实践 · 网页）",
    "url": "https://www.anthropic.com/engineering/writing-tools-for-agents",
    "aihot_url": "https://aihot.news/items/cmorb7ml0008mslhfpq34cchl"
  },
  "machine_versions": {
    "markdown": "https://new.nat6.net/news/cmorb7ml0008mslhfpq34cchl/index.md",
    "json": "https://new.nat6.net/api/v1/articles/cmorb7ml0008mslhfpq34cchl.json"
  },
  "urls": {
    "zh": "https://new.nat6.net/news/cmorb7ml0008mslhfpq34cchl/",
    "en": "https://new.nat6.net/en/news/cmorb7ml0008mslhfpq34cchl/",
    "de": "https://new.nat6.net/de/news/cmorb7ml0008mslhfpq34cchl/",
    "fr": "https://new.nat6.net/fr/news/cmorb7ml0008mslhfpq34cchl/",
    "ru": "https://new.nat6.net/ru/news/cmorb7ml0008mslhfpq34cchl/",
    "ja": "https://new.nat6.net/ja/news/cmorb7ml0008mslhfpq34cchl/",
    "es": "https://new.nat6.net/es/news/cmorb7ml0008mslhfpq34cchl/",
    "ko": "https://new.nat6.net/ko/news/cmorb7ml0008mslhfpq34cchl/",
    "vi": "https://new.nat6.net/vi/news/cmorb7ml0008mslhfpq34cchl/",
    "th": "https://new.nat6.net/th/news/cmorb7ml0008mslhfpq34cchl/",
    "id": "https://new.nat6.net/id/news/cmorb7ml0008mslhfpq34cchl/",
    "ms": "https://new.nat6.net/ms/news/cmorb7ml0008mslhfpq34cchl/",
    "fil": "https://new.nat6.net/fil/news/cmorb7ml0008mslhfpq34cchl/",
    "hi": "https://new.nat6.net/hi/news/cmorb7ml0008mslhfpq34cchl/"
  },
  "promo": {
    "name": "橙子中转站",
    "name_en": "Orange Relay",
    "url": "https://pro.nat6.net/",
    "description": "橙子中转站（pro.nat6.net）是一家优质的 AI API 中转站：价格优惠、质量稳定、模型齐全，支持 Claude、GPT、Gemini 等主流模型，欢迎体验。",
    "advantages": [
      "价格优惠：按量计费，成本可控。",
      "质量稳定：多线路冗余，服务可用性高。",
      "模型齐全：Claude、GPT、Gemini 等主流模型。",
      "接入简单：兼容 OpenAI 接口，改一行 base_url 即可。"
    ],
    "cta": "访问橙子中转站",
    "cta_url": "https://pro.nat6.net/?utm_source=orange_news&utm_medium=article_footer&utm_campaign=brand&lang=zh"
  },
  "generator": "OrangeNews/1.0"
}
