MCP 工具清單
本頁列出對代理程式開放的工具。關於啟用方式、連線與安全模型,請參閱 透過 MCP 操控 Restorm。
受限的工具依然會被列出(描述中會帶上 (Restorm Pro) 後綴),並回傳一個明確
的錯誤,而不是直接消失。
讀取與導覽 — Community
Section titled “讀取與導覽 — Community”get_request · get_response · get_response_history · get_active_env ·
get_current_tab · list_requests · list_folders · list_favorites ·
list_value_sources · search · open_tab · close_tab · reveal_in_tree
專案 — Community
Section titled “專案 — Community”create_project · open_project · save_project · list_recent_projects
寫入 — Community
Section titled “寫入 — Community”請求與資料夾的建立、修改、移動與刪除,我的最愛管理(set_favorite),以及
import_from_url。
環境、變數與密鑰 — Community
Section titled “環境、變數與密鑰 — Community”list_environments · create_environment · rename_environment ·
update_environment · delete_environment · refresh_environment ·
list_env_variables · set_env_variable · delete_env_variable ·
list_custom_value_lists · create_custom_value_list ·
update_custom_value_list · delete_custom_value_list
快速設定 — Community
Section titled “快速設定 — Community”list_quick_configs · add_quick_config · update_quick_config ·
delete_quick_config · describe_quick_config_schema
請參閱快速設定。
執行請求 — Community
Section titled “執行請求 — Community”run_request · run_request_batch · cancel_request · read_stream ·
send_message · batch
batch 會把多個呼叫打包在一起;每個子呼叫的功能權限都會被獨立檢查。
防火牆 — Community
Section titled “防火牆 — Community”open_firewall · firewall_list_rules · firewall_allow · firewall_deny ·
firewall_list_pending_prompts · firewall_resolve_prompt
代理程式所做的任何修改都會被稽核。請參閱 防火牆。
情境 — Pro
Section titled “情境 — Pro”整個領域,連讀取也算:list_scenarios · get_scenario ·
create_scenario · update_scenario · describe_scenario_kinds ·
list_scenario_nodes · create_scenario_node · update_scenario_node ·
move_scenario_node · delete_scenario_node · connect_scenario_nodes ·
disconnect_scenario_nodes · set_edge_selector · arrange_scenario ·
run_scenario · run_scenario_node · get_scenario_node_result ·
get_scenario_node_status · cancel_scenario_node ·
get_scenario_run_status · list_scenario_runs · stop_scenario_run ·
answer_scenario_input · define_param
請參閱執行與除錯。
介面自動化 — Pro
Section titled “介面自動化 — Pro”screenshot · screencast-start · screencast-stop · dom-query ·
evaluate · dispatch-event · mouse-input · type-text · drag-drop ·
keyboard-shortcut · scroll-into-view · get-computed-style ·
inject-css · storage · get-windows · window-info · refresh ·
devtools · wait · wait-for · exit
主控台 — Pro
Section titled “主控台 — Pro”open_console · console-logs · console_clear
佈景主題 — Pro
Section titled “佈景主題 — Pro”list_themes · get_current_theme · switch_theme
迷你瀏覽器 — Pro
Section titled “迷你瀏覽器 — Pro”open_mini_browser · mini_browser_execute
workbench 版面配置 — Pro
Section titled “workbench 版面配置 — Pro”get_workbench_layout · set_workbench_layout · set_tab_maximized
實例 — Pro
Section titled “實例 — Pro”list-instances · create_instance · terminate_instance
任何呼叫都接受一個保留鍵 __session,用來指定目標實例。
Git — Pro
Section titled “Git — Pro”git_commit_push · git_confirm_push · git_pull · git_resolve_conflicts
推送分兩個步驟:第一步會回傳一個審查權杖,附上依實體切分的 diff,而且 什麼都不寫入;第二步才確認 — 如果專案在這段期間變動過就會失敗。請參閱 內建 Git。
| 資源 | 內容 |
|---|---|
restorm://project | 目前開啟的專案 |
restorm://tree | 完整的樹狀結構 |
restorm://active-tab | 作用中的分頁 |
restorm://request/{id} | 某一個特定的請求 |