# AIMI 105 Simulated Tool Catalog / 模擬工具目錄

> SIMULATED TEACHING MATERIAL. These tools do not exist as real services; they are design exercises for the permission table. Do not connect real accounts, API keys or passwords to any practice flow.
> 模擬教學資料。以下工具並非真實服務，只供權限表設計練習。請勿把真實帳號、API 金鑰或密碼接到任何練習流程。

**How to use / 使用方式:** pick only the tools your news-monitoring flow needs, then copy them into your permission table. Several tools below are deliberately unnecessary or dangerous for this flow; leaving them off the allowlist is part of the exercise.
只挑出新聞監測流程真正需要的工具，填入權限表。下列有幾個工具是刻意放入、本流程不需要或高風險的；不把它們放進 allowlist 正是練習的一部分。

**Rule for every flow / 所有流程的共同規則:** the model only *proposes* a tool call; the surrounding system checks it against the allowlist, runs it, and logs the tool name, arguments, result and time. Teaching demos never publish externally, send messages or execute financial operations on their own.
模型只「提出」工具呼叫；由外圍系統依 allowlist 檢查、執行，並記錄工具名稱、參數、結果與時間。教學 Demo 一律不得自動對外發布、發送訊息或執行金融操作。

| Tool / 工具 | Purpose / 用途 | Read scope / 讀取範圍 | Write scope / 寫入範圍 | Allowed actions / 允許動作 | Forbidden actions / 禁止動作 | Human approval / 人工批准 |
|---|---|---|---|---|---|---|
| `read_news_feed` | Read the offline feed / 讀取離線新聞檔 | `AIMI105_Offline_News_Feed.csv` only / 僅此檔 | None / 無 | Read rows by time window / 依時段讀取 | Any other file or network source; editing rows / 讀其他來源、修改資料 | Not needed / 不需要 |
| `search_archive` | Search earlier simulated stories / 搜尋模擬舊新聞 | Simulated archive, read-only / 模擬資料庫唯讀 | None / 無 | Keyword or company search, max 10 results per call / 關鍵字或公司搜尋，每次最多 10 筆 | Web browsing; paid or licensed databases / 連網、付費或授權資料庫 | Not needed / 不需要 |
| `dedupe_items` | Merge items about the same event / 合併同一事件 | Items passed in / 傳入的項目 | Returns merged list only / 只回傳合併結果 | Merge, keep all sources / 合併並保留所有來源 | Dropping sources / 丟棄來源 | Not needed / 不需要 |
| `classify_event` | Assign an event type from a fixed list / 由固定清單指定事件類型 | Items passed in / 傳入的項目 | Returns label only / 只回傳標籤 | Labels: revenue, board decision, personnel, clarification, recall, investor event, material information, other-needs-review / 營收、董事會決議、人事、澄清、召回、法說會、重大訊息、其他待審 | Inventing new labels / 自創標籤 | Not needed; "other-needs-review" goes to the review queue / 不需要；「其他待審」送審核佇列 |
| `summarise_item` | One-sentence summary with citation / 一句話摘要並附引用 | Items passed in / 傳入的項目 | Returns text only / 只回傳文字 | Summarise, cite item_id / 摘要並引用 item_id | Adding facts not in the item; buy/sell views / 加入原文沒有的事實、買賣建議 | Not needed / 不需要 |
| `verify_citations` | Check each claim against its source / 逐項對照來源 | Digest draft + feed / 草稿與新聞檔 | Flags only / 只回傳標記 | Flag missing or unsupported claims / 標記缺來源或無依據陳述 | Filling in missing sources / 補上不存在的來源 | Not needed / 不需要 |
| `write_review_queue` | Save the draft digest for analysts / 把草稿存入研究員審核佇列 | None / 無 | Internal review queue only / 僅內部審核佇列 | Create or update drafts / 新增或更新草稿 | Publishing; deleting others' drafts / 發布、刪除他人草稿 | Not needed to write a draft; the digest is used only after an analyst approves / 寫草稿不需要；研究員批准後才可使用 |
| `write_run_log` | Append to the run record and failure log / 寫入執行紀錄與 Failure Log | None / 無 | Append-only log / 只能新增的日誌 | Append entries / 新增紀錄 | Editing or deleting entries / 修改或刪除紀錄 | Not needed / 不需要 |
| `notify_owner` | Alert the named flow owner internally / 在內部通知流程負責人 | None / 無 | Internal notification to the owner only / 只能通知負責人 | Failure or exception alerts / 失敗或例外通知 | Messaging anyone else / 通知其他任何人 | Not needed / 不需要 |
| `send_email` | Send email to any address / 寄信到任何地址 | Contacts / 通訊錄 | Outbound email / 對外郵件 | Not needed by this flow / 本流程不需要 | **Must stay off the allowlist** / **不得放入 allowlist** | Always, if ever added / 若日後加入一律需要 |
| `publish_to_website` | Publish to the public website / 發布到公開網站 | CMS / 內容管理系統 | Public pages / 公開頁面 | Not needed by this flow / 本流程不需要 | **Must stay off the allowlist** / **不得放入 allowlist** | Always, if ever added / 若日後加入一律需要 |
| `send_message` | Post to subscriber chat channels / 發訊息到訂閱者群組 | Channel list / 群組清單 | Outbound messages / 對外訊息 | Not needed by this flow / 本流程不需要 | **Must stay off the allowlist** / **不得放入 allowlist** | Always, if ever added / 若日後加入一律需要 |
| `place_order` | Submit a trading order / 送出交易委託 | Brokerage account / 證券帳戶 | Orders / 委託 | None in this course / 本課程一律不允許 | **Never allowed** / **永不允許** | Out of scope / 不在範圍內 |
| `admin_console` | Full administrator access / 完整管理員權限 | Everything / 全部 | Everything / 全部 | None / 無 | **Never allowed** / **永不允許** | Out of scope / 不在範圍內 |

## Questions for your permission table / 權限表檢核問題
1. Does each chosen tool need write access at all? If yes, is it limited to an internal location? / 每個工具真的需要寫入嗎？若需要，是否只限內部位置？
2. Could prompt injection in a news item make this tool cause harm? If yes, remove it or add a human gate. / 新聞中的提示注入能否讓這個工具造成傷害？若能，移除或加人工關卡。
3. Is every call logged with name, arguments, result and time? / 每次呼叫是否都記錄名稱、參數、結果與時間？
4. Who is the named owner who receives `notify_owner` alerts, and who is the backup? / 接收 `notify_owner` 通知的具名負責人與備援人是誰？
