重要
この記事の一部の情報は、市販される前に大幅に変更される可能性があるプレリリース製品に関するものです。 Microsoft は、ここに記載された情報に関して、明示または黙示を問わず、いかなる保証も行いません。
この例では、URL を削除するエージェントの GPT ツール (スキル) を作成する方法について説明します。
GPT ツールを作成してSecurity Copilotにアップロードする
GPT ツールは次のように定義されます。
Descriptor:
Name: DCA_SampleGPT
DisplayName: DCA_My Sample GPT Skillset
Description: Skills for defanging URLs
SkillGroups:
- Format: GPT
Skills:
- Name: DefangUrls
DisplayName: Defang URLs
Description: Defangs URLs in the given text
Inputs:
- Name: text
Description: The text containing URLs to be defanged
Settings:
ModelName: gpt-4.1
Template: |-
To 'defang' a URL means to change the scheme to either hxxp or hxxps and replace '.' with '[.]' in the domain so that the URL is still easily readable by a human but doesn't automatically render as a hyperlink if rendered in a rich client such as Outlook. This is often done when sharing potentially malicious links to prevent the reader accidentally clicking on them and visiting a malicious website.
Some examples of defanging URLs:
1. https://example.com --> hxxps://example[.]com
2. http://subdomain.example.com/path.with.dots/ --> hxxp://subdomain[.]example[.]com/path.with.dots/
Defang any URLs in the following text and return the new text:
{{text}}
プラグインをアップロードして有効にする方法については、「 ビルド エージェント マニフェスト」を参照してください。
プラグインの実行後の最終的な結果: