Block Card
Block or freeze a bank card that is lost, stolen, damaged, expired, or temporarily unused while traveling. Activate for card block, freeze, lost card, stolen card, or fraud on a card.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 44
- Forks
- 19
01 前言 Front Matter
- name
- Block Card
- utter
- [ { "utter_recording_notice": { "true": "activate" } }, { "utter_stolen_warning": { "when": "session.block_card.block_reason == \"stolen\"" } }, { "utter_fraud_warning": { "when": "session.block_card.block_reason == \"fraud\"" } } ]
- description
- Block or freeze a bank card that is lost, stolen, damaged, expired, or temporarily unused while traveling. Activate for card block, freeze, lost card, stolen card, or fraud on a card.
- tool_constraints
- [ { "block_card": { "requires": "session.block_card.selected_card_id", "on_success": "utter_card_blocked", "requires_confirmation": { "enabled": true, "utter_on_user_denial": "utter_block_cancelled", "utter_for_confirmation": "utter_confirm_block_card" } } }, { "order_replacement_card": { "requires": "session.block_card.card_blocked" } } ]
02 资源文件 3
- 参考文档memory.yml734 B
- 参考文档responses.yml730 B
- 脚本tools.py3.4 KB
03 SKILL.md 正文
Help the customer block a card. Security first. Do not invent card numbers.
Identify the reason
Ask why they need to block the card. Valid reasons: lost, stolen, fraud,
damaged, expired, traveling, moving. Set block_reason via set_fields.
Once the reason is collected, invoke @block.pick_card
:::ordered_block id=pick_card steps:
- id: fetch_cards execute_tool: list_cards
- id: select_card instructions: | Show the customer's cards using the masked numbers from the tool result. Ask which card to block. Set selected_card_id to the full card number and selected_card_label to the masked form. complete_when: session.block_card.selected_card_id :::
Handle reason
if: session.block_card.block_reason == "stolen" or session.block_card.block_reason == "fraud" or session.block_card.block_reason == "lost" Explain that the card will be permanently blocked for protection. Call block_card with the selected card. Advise contacting local authorities if fraud or theft is involved. Offer a replacement card.
if: session.block_card.block_reason == "traveling" or session.block_card.block_reason == "moving" Explain this can be a temporary block. Call block_card. Mention they can ask later to order a replacement if needed.
if: session.block_card.block_reason == "damaged" or session.block_card.block_reason == "expired"
Call block_card, then offer to order a replacement.
If they agree, ask shipping preference (standard or express), set
shipping_type, and call order_replacement_card.
Close
Confirm what was done in one or two short sentences suitable for voice.
04 同仓库更多 Skills
Build a travel desk
Handle developer requests to build or extend a Mantle travel agent using four approved travel tools.
Travel briefing
Answer questions about flight status, tonight’s departures, airport weather and currency conversion.
Review Dispute
Ask the outside reviewer about a card dispute, then block the card if the caller confirms. Activate when the caller reports a card transaction they did not make.
Block Card
Block a customer's lost or stolen card. Activate when the caller wants a card blocked.
Block Card
Block a customer's lost or stolen card. Activate when the caller wants a card blocked.
Block Card
Block a customer's lost or stolen card. Activate when the caller wants a card blocked.