Carta CRM(顧客関係管理ツール)に登録済みの取引情報を更新します。 **次のような場合に使用:** - 「取引を更新したい」 - 「取引を〇〇ステージに移す」 - 「取引のステージを変更したい」 - 「取引情報を編集したい」 - 「取引の項目を更新したい」 - 「取引にタグを追加したい」 - 「取引の担当者を指定したい」 - 「取引に関連する企業情報を更新したい」 - 「取引に担当者を紐付けたい」 - 「/update-deal」と入力した場合 **主な特徴:** 取引IDまたは企業名を指定して実行します。IDがない場合は企業名から検索します。指定した項目だけを変更し、その他の情報は変わりません。
Updates an existing deal record in the Carta CRM. Use this skill when the user says things like "update a deal", "move deal to [stage]", "change deal stage", "edit deal", "update deal fields", "add a tag to deal", "assign deal lead", "update company info on deal", "link contacts to deal", or "/update-deal". Accepts a deal ID or company name (will search if no ID provided). Only the fields explicitly provided are changed — all other fields are left untouched.
バージョン: carta-crm:1.14.2
既存の案件を部分的に更新します。指定されたフィールド(項目)だけが変更され、全体置き換えではありません。まず案件IDを確認し、変更内容を整理してから更新ツールを実行します。
ユーザーが案件IDを直接提供した場合は、それを使用してステップ3にスキップします。
会社名だけが与えられた場合は、まずget_deal_fieldsを呼び出してから検索します:
crm_call_tool({ "name": "crm:get_deal_fields", "arguments": {} })
crm_call_tool({ "name": "crm:search_deals", "arguments": { query: "<company name>", limit: 10 } })
複数の案件がマッチした場合は、一覧を表示してユーザーに確認を求めます(各案件の会社名、ステージ、IDを表示)。
ユーザーに何を変更したいのかを確認します:
| フィールド | 説明 |
|---|---|
stageId |
案件を別のステージに移動 |
company.name |
関連会社の名前を更新 |
company.url |
会社のURL を更新(自動情報補完がトリガーされます) |
comment |
案件のコメント・メモを置き換え |
tags |
タグ一覧全体を置き換え |
dealLead |
案件の担当者として割り当てるユーザーID |
addedAt |
案件が追加されたISO 8601形式の日付 |
fields |
フィールドIDをキーとするカスタム項目の値 |
people.advisers |
アドバイザーとしてリンクされた連絡先ID |
people.introducer |
紹介者としてリンクされた連絡先ID |
people.management |
経営者としてリンクされた連絡先ID |
ユーザーがステージ名で移動したい場合は、まずパイプライン(案件フロー)を取得します:
crm_call_tool({ "name": "crm:get_deal_pipelines_with_stages", "arguments": {} })
カスタム項目をIDではなく名前で更新する場合:
crm_call_tool({ "name": "crm:get_deal_custom_fields", "arguments": {} })
重要: 実際に変更されるフィールドのみを含めてください。その他は省略します。
以下を実行します:
crm_call_tool({
"name": "crm:update_deal",
"arguments": {
id: "<deal id>",
stageId: "<stage id>",
company: { name: "<name>", url: "<url>" },
comment: "<updated comment>",
tags: ["<tag1>", "<tag2>"],
dealLead: "<user id>",
addedAt: "<ISO 8601 date>",
fields: { "<field_id>": "<value>" },
people: {
advisers: ["<contact id>"],
introducer: ["<contact id>"],
management: ["<contact id>"]
}
}
})
更新対象でないトップレベルキーは省略します。
成功時は、変更内容の概要を応答します:
「{会社名} の案件が更新されました(ID:
{id})。変更項目: [変更されたフィールドの一覧]」
エラーが発生した場合は、エラーメッセージを表示し、以下を提案します:
/search-dealsを実行して案件を検索してくださいget_deal_pipelines_with_stagesを実行してくださいユーザーが複数の案件に同じ変更を適用したい場合は、それぞれステップ1と3~4を繰り返します。最後に概要をまとめます:
「N件の案件を更新しました: [会社名の一覧]」
<!-- carta:plugin-version --> <carta-plugin>carta-crm:1.14.5</carta-plugin>
Partially update an existing deal. Only fields provided are modified — this is a partial update, not a replacement. First resolve the deal ID, collect what to change, then call the update tool.
If the user provided a deal ID directly, use it and skip to Step 3.
If only a company name was given, call get_deal_fields first, then search:
crm_call_tool({ "name": "crm:get_deal_fields", "arguments": {} })
crm_call_tool({ "name": "crm:search_deals", "arguments": { query: "<company name>", limit: 10 } })
If multiple deals match, present the list and ask the user to confirm which one to update (show company name, stage, and ID for each).
Ask the user what they want to change:
| Field | Description |
|---|---|
stageId |
Move deal to a different stage |
company.name |
Update the associated company name |
company.url |
Update company URL — triggers auto-enrichment |
comment |
Replace the deal comment/notes |
tags |
Replace the full tags array |
dealLead |
User ID to assign as deal lead |
addedAt |
ISO 8601 date the deal was added |
fields |
Custom field values keyed by field ID |
people.advisers |
Contact IDs linked as advisers |
people.introducer |
Contact IDs linked as introducers |
people.management |
Contact IDs linked as management |
If the user wants to move to a stage by name, fetch pipelines first:
crm_call_tool({ "name": "crm:get_deal_pipelines_with_stages", "arguments": {} })
If updating custom fields by label rather than ID:
crm_call_tool({ "name": "crm:get_deal_custom_fields", "arguments": {} })
Important: Only include fields that are explicitly being changed. Omit everything else.
Call:
crm_call_tool({
"name": "crm:update_deal",
"arguments": {
id: "<deal id>",
stageId: "<stage id>",
company: { name: "<name>", url: "<url>" },
comment: "<updated comment>",
tags: ["<tag1>", "<tag2>"],
dealLead: "<user id>",
addedAt: "<ISO 8601 date>",
fields: { "<field_id>": "<value>" },
people: {
advisers: ["<contact id>"],
introducer: ["<contact id>"],
management: ["<contact id>"]
}
}
})
Omit any top-level key that is not being updated.
On success, respond with a summary of what changed:
"Deal for {company name} updated (ID:
{id}). Changed: [list of changed fields]"
On error, show the error message and suggest:
/search-deals to find itget_deal_pipelines_with_stagesIf the user wants to apply the same change to multiple deals, repeat Steps 1 and 3–4 for each. Summarize at the end:
"Updated N deals: [list of company names]"
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。