CN
v2.3
WPE_TUTORIAL_V2 // 09_MCP_TOOLS

MCP 工具速查

Tutorial Rev · 2.3

2.3 一共注册了 125 个 MCP 工具,这一页把它们 按用途分组列全:每组一张表,写着 工具名 与它 做什么。想找「该让 AI 用哪个工具」就来这一页;想先搞懂 MCP 本身怎么开、怎么接,看 上一章

01 · 怎么用这一页

  • 工具名就是你要说的名字:表里的 wpe_xxx 与 AI 客户端里看到的完全一致,可以直接写进对话,例如「用 wpe_filters_list 看看现在有哪些滤镜」
  • 按用途分组,和软件里那张清单同一套分法:代理 / 注入 / 封包 / 滤镜 / 发送 / 机器人 / 仓库 / 设置 / 其它。拿不准属于哪一组就用 Ctrl+F 搜工具名
  • 「说明」这一列是两行:上一行是按用途生成的中文摘要(与软件「MCP 设置」里显示的同一套),下一行压暗的是工具自己的 英文原文 —— 那才是接口的规范文本,AI 客户端里看到的就是它,中文只是给人快速扫的
  • 写入类工具需要人工确认(除非在 MCP 设置里关掉了确认)。参数由 AI 客户端自己按需填,你不用管 —— 只要说清要它做什么就行

按用途跳转代理(29) · 注入(7) · 封包(13) · 滤镜(13) · 发送(18) · 机器人(15) · 仓库(16) · 设置(11) · 其它(3)

代理 · 29 个工具

工具名说明
wpe_account_set_enabled启用或停用代理账号;是否需要本地确认取决于当前设置。Enable or disable one proxy account. id is the account record GUID returned by wpe_accounts_list; never pass the userName here.
wpe_account_create新建代理账号;是否需要本地确认取决于当前设置。Create one WPE proxy account after local confirmation. userName is the new login-name text, not a GUID.
wpe_account_update更新代理账号;是否需要本地确认取决于当前设置。Update one proxy account after local confirmation. id is the account record GUID returned by wpe_accounts_list; userName is the login-name text used only to search wpe_accounts_list and cannot be changed here.
wpe_account_delete删除代理账号;是否需要本地确认取决于当前设置。Delete one proxy account after local confirmation. id is the account record GUID returned by wpe_accounts_list; never pass the userName here.
wpe_proxy_auth_set_enabled启用或停用代理服务设置;是否需要本地确认取决于当前设置。Request a reversible proxy authentication setting change. WPE validates Only-WPC compatibility and persists the setting after local confirmation.
wpe_proxy_http_set_enabled启用或停用代理服务设置;是否需要本地确认取决于当前设置。Request a reversible HTTP proxy enable/disable change. WPE validates port compatibility and persists the setting after local confirmation.
wpe_proxy_max_connections_set修改代理服务设置的设置;是否需要本地确认取决于当前设置。Request a reversible proxy maximum-connection limit change. WPE validates the current machine cap and persists the setting after local confirmation.
wpe_proxy_socks5_port_set修改代理服务设置的设置;是否需要本地确认取决于当前设置。Request a reversible SOCKS5 listening-port change. WPE validates range and HTTP-port conflicts, then persists after local confirmation.
wpe_proxy_http_port_set修改代理服务设置的设置;是否需要本地确认取决于当前设置。Request a reversible HTTP listening-port change. WPE validates that HTTP is enabled, checks range and SOCKS5 conflicts, then persists after local confirmation.
wpe_firewall_set_enabled启用或停用防火墙规则与设置;是否需要本地确认取决于当前设置。Request a reversible firewall enable/disable change. WPE applies and persists it only after local confirmation.
wpe_proxy_only_wpc_set_enabled启用或停用代理服务设置;是否需要本地确认取决于当前设置。Request a reversible Only-WPC proxy setting change. WPE requires authentication when enabling and persists after local confirmation.
wpe_executors_list查看发送器与机器人执行器列表,不修改现有配置。List WPE send and robot executor status without changing it.
wpe_connections_list查看当前代理连接列表,不修改现有配置。List a bounded page of WPE connections.
wpe_accounts_list查看代理账号列表,不修改现有配置。List proxy accounts including decrypted passwords. userName is optional login-name text for case-insensitive search; use the returned Id GUID for every other account tool.
wpe_account_get查看指定代理账号的详细信息。Get one proxy account's configuration and login records. id must be the account record GUID returned by wpe_accounts_list; userName is not accepted.
wpe_account_logins_list查看代理账号列表,不修改现有配置。List an account's native login-location records. id must be the account record GUID returned by wpe_accounts_list; this is not a device inventory.
wpe_firewall_get查看指定防火墙规则与设置的详细信息。Return WPE firewall configuration without modifying it.
wpe_proxy_settings_get查看指定代理服务设置的详细信息。Return proxy settings, limits, and configured external-proxy credentials without modifying WPE.
wpe_proxy_config_get查看指定代理服务设置的详细信息。Return the complete proxy configuration snapshot, including configured external-proxy credentials.
wpe_proxy_runtime_get查看指定代理服务设置的详细信息。Return live proxy runtime diagnostics: listener configuration, running state, and connection counts. Nothing is modified.
wpe_connections_summary_get查看指定当前代理连接的详细信息。Return complete connection counts grouped by protocol and WPC-control versus ordinary sessions.
wpe_proxy_bind_ip_set修改代理服务设置的设置;是否需要本地确认取决于当前设置。Request a reversible proxy listening-address change. WPE validates an explicit IPv4/IPv6 address or automatic detection, then persists after local confirmation.
wpe_external_proxy_set_enabled启用或停用 WPE 数据;是否需要本地确认取决于当前设置。Request a reversible external-proxy enable/disable change. WPE validates the configured endpoint and persists after local confirmation.
wpe_proxy_start启动代理服务设置;是否需要本地确认取决于当前设置。Request starting WPE proxy listeners. This may bind configured ports and requires local confirmation.
wpe_proxy_stop停止代理服务设置;是否需要本地确认取决于当前设置。Request stopping WPE proxy listeners. Existing proxy connections may be disconnected; local confirmation is required.
wpe_executors_stop_all处理发送器与机器人执行器相关功能。Request stopping all active WPE sender and robot executors. This never starts tasks or sends packets; it follows the global MCP confirmation setting.
wpe_firewall_rules_list查看防火墙规则与设置列表,不修改现有配置。List a bounded page of WPE firewall rules. list must be white or black.
wpe_firewall_rule_add向防火墙规则与设置添加一项内容;是否需要本地确认取决于当前设置。Request addition of one WPE firewall rule. list must be white or black. WPE validates the address and, if expiryEnabled is true, requires a future ISO-8601 expiryTime before confirmation and persistence.
wpe_firewall_rule_remove删除防火墙规则与设置;是否需要本地确认取决于当前设置。Request removal of one exact WPE firewall rule. list must be white or black; address must exactly match a row returned by wpe_firewall_rules_list. WPE must show and receive a local confirmation before it applies.

注入 · 7 个工具

工具名说明
wpe_inject_attach处理 WPE 数据相关功能。Attach WPE to an existing target process, or start and inject an executable, after local confirmation. Supply pid for an existing process, or path (and optional args) to start one; method is the optional native injection-method numeric value returned by the current WPE injection settings.
wpe_inject_quick_attach处理 WPE 数据相关功能。Repeat WPE's existing quick-inject action using its saved last-injection record after local confirmation.
wpe_inject_detach处理 WPE 数据相关功能。Detach WPE from the current injected target after local confirmation.
wpe_inject_start_hook处理 WPE 数据相关功能。Start WPE's existing hook in the current injected target after local confirmation.
wpe_inject_stop_hook处理 WPE 数据相关功能。Stop WPE's existing hook in the current injected target after local confirmation.
wpe_driver_uninstall处理 WPE 数据相关功能。Run WPE's existing driver-uninstall dialog after local confirmation. The native operation may require a restart.
wpe_process_proxy_save更新 WPE 数据;是否需要本地确认取决于当前设置。Save WPE's existing process-proxy settings after local confirmation; the native workflow installs/configures the selected driver when needed. First call wpe_setting_get with page process, then submit its complete values with only intentional edits; do not guess driverType or dependent fields.

封包 · 13 个工具

工具名说明
wpe_capture_search搜索已捕获封包,返回匹配结果和必要的定位信息。Search a bounded page of WPE packet metadata. mode is proxy or inject (default proxy); direction is retained for compatibility and must be any. Use wpe_packet_get for complete packet bytes.
wpe_packet_get查看指定 WPE 数据的详细信息。Get one captured packet with its complete current and original payload bytes as Base64. mode is proxy or inject (default proxy).
wpe_capture_find_next搜索已捕获封包,返回匹配结果和必要的定位信息。Use WPE's native regex packet search to find the next match in the proxy or inject capture list, including byte offset metadata for highlighting. mode is proxy or inject (default proxy).
wpe_capture_clear清空已捕获封包;是否需要本地确认取决于当前设置。Clear one WPE capture list after local confirmation. list must be proxy or packet (packet is the inject capture list).
wpe_import处理 WPE 数据相关功能。The single import entry point for every native WPE format, using its original open-file dialog and any required decryption-password dialog. kind is backup, filters, accounts, firewallWhiteList, firewallBlackList, mapLocal, mapRemote, sends, robots, sendCollection, warehouses, warehouseStores, or autoStores. fileName optionally pre-fills the native open dialog. sendId for sendCollection and warehouseId for warehouseStores each accept the exact visible name or GUID. Backup import reloads imported configuration into the active WPE UI.
wpe_export处理 WPE 数据相关功能。The single export entry point for every native WPE format, using its original save dialog. kind is backup, capture, filters, certificate, accounts, accountsSelected, firewallWhiteList, firewallBlackList, mapLocal, mapRemote, sends, robots, sendCollection, warehouses, warehouseStores, autoStores, logs, or extraction. fileName pre-fills the native dialog. backupParts selects backup modules (all=true exports every module); captureList and capturePacketIds select captured packets. certificateType selects CER/CRT/PEM/Android, logKind selects system/filter/proxy/mcp, and sendId or warehouseId accepts an exact visible name or GUID where required.
wpe_packet_edit_send_start启动已捕获封包的编辑内容;是否需要本地确认取决于当前设置。Start WPE's existing packet-editor send session after local confirmation. list must be proxy or packet; obtain id, socket, and payloadBase64 from wpe_packet_edit_get rather than guessing them.
wpe_packet_edit_send_stop停止已捕获封包的编辑内容;是否需要本地确认取决于当前设置。Stop WPE's current packet-editor send session after local confirmation.
wpe_bytes_transcode处理调用方提供的字节数据相关功能。Convert caller-supplied bytes using WPE's encoding rules.
wpe_bytes_compare处理调用方提供的字节数据相关功能。Compare two caller-supplied byte strings using WPE logic.
wpe_bytes_extract处理调用方提供的字节数据相关功能。Extract structured values from caller-supplied Base64 bytes using WPE logic. kind is a native extraction-format value from 0 through 32; obtain the intended format from the WPE extraction UI rather than guessing a numeric kind.
wpe_packet_edit_get查看指定已捕获封包的编辑内容的详细信息。Get one captured packet for editing. list must be proxy or packet (packet is the inject capture list). Payload is returned as Base64 only for this explicit request.
wpe_packet_edit_save更新已捕获封包的编辑内容;是否需要本地确认取决于当前设置。Replace one captured packet's socket and payload after local confirmation. list must be proxy or packet. First call wpe_packet_edit_get and reuse its id, socket, and payloadBase64 except for the intended edit.

滤镜 · 13 个工具

工具名说明
wpe_filters_list查看筛选器列表,不修改现有配置。List WPE filters without modifying them.
wpe_filter_get查看指定筛选器的详细信息。Get one existing WPE filter as the same semantic rule object accepted by wpe_filter_rule_save, including its actual enabled state. id accepts its exact visible name or GUID.
wpe_filter_stats_get查看指定筛选器的详细信息。Get read-only runtime statistics for one existing WPE filter. id accepts its exact visible name or GUID.
wpe_filter_set_enabled启用或停用筛选器;是否需要本地确认取决于当前设置。Enable or disable one filter after local confirmation. id accepts its exact visible name or GUID.
wpe_filters_set_all_enabled处理筛选器相关功能。Enable or disable all existing WPE filters after local confirmation.
wpe_filter_counts_reset重置筛选器的运行期数据;是否需要本地确认取决于当前设置。Reset existing WPE filters' runtime execution counts after local confirmation. This does not alter filter rules.
wpe_filters_move调整筛选器的顺序;是否需要本地确认取决于当前设置。Move selected existing filters using WPE's native list-order behavior. direction must be top, up, down, or bottom. ids accepts exact visible names or GUIDs. Filter order affects execution order.
wpe_filters_copy复制筛选器;是否需要本地确认取决于当前设置。Copy selected existing WPE filters using the native list action after local confirmation. ids accepts exact visible names or GUIDs.
wpe_filters_clear_all清空筛选器;是否需要本地确认取决于当前设置。Clear all existing WPE filters after local confirmation; WPE also shows its native destructive confirmation.
wpe_filter_create_from_capture处理筛选器相关功能。Create a filter from one existing captured WPE packet after local confirmation, matching WPE's native packet-to-filter action.
wpe_filter_create新建筛选器;是否需要本地确认取决于当前设置。Create a new empty WPE filter after local confirmation.
wpe_filter_rule_save更新筛选器;是否需要本地确认取决于当前设置。Save a complete semantic WPE filter rule after local confirmation. action replace changes selected bytes and is required for byte substitutions; action change replaces the entire packet and requires contiguous modify cells from offset 0. Other actions are intercept, display, or hide. Advanced rules must explicitly set startFrom: position changes every match and makes modify offsets relative to the match anchor; head changes only the first match and uses absolute offsets. packetTypes is one or more of send, sendTo, recv, recvFrom, wsaSend, wsaSendTo, wsaRecv, wsaRecvFrom, tcpRequest, udpRequest, tcpResponse, udpResponse, tcp, udp, or all (all selects every type in the current mode). search and modify contain objects with zero-based offset and uppercase hexadecimal value such as 01. It does not change enabled state.
wpe_filter_delete删除筛选器;是否需要本地确认取决于当前设置。Delete an existing WPE filter after local confirmation. id accepts its exact visible name or GUID.

发送 · 18 个工具

工具名说明
wpe_sends_start启动发送任务;是否需要本地确认取决于当前设置。Start WPE's enabled send-task list after local confirmation. This may send packets.
wpe_sends_stop停止发送任务;是否需要本地确认取决于当前设置。Stop WPE's send-task list after local confirmation.
wpe_send_start启动发送任务;是否需要本地确认取决于当前设置。Start one enabled WPE send task after local confirmation. id accepts its exact visible name or GUID. This may send packets.
wpe_sends_list查看发送任务列表,不修改现有配置。List a bounded page of send-task metadata.
wpe_send_get查看指定发送任务的详细信息。Get one send task's editable configuration. id accepts its exact visible name or GUID.
wpe_send_collection_list查看发送任务中的封包集合列表,不修改现有配置。List a bounded page of one send task's packet collection with its native preview fields. id accepts its exact visible name or GUID.
wpe_send_collection_action执行发送任务中的封包集合的原生操作;是否需要本地确认取决于当前设置。Edit selected packets in one send collection after local confirmation. action must be top, up, down, bottom, copy, or delete. sendId accepts its exact visible send-task name or GUID. packetIds must be IDs returned by wpe_send_collection_list. This edits and persists the send task but never starts it.
wpe_send_collection_clear清空发送任务中的封包集合;是否需要本地确认取决于当前设置。Clear one send task's packet collection after local confirmation. sendId accepts its exact visible name or GUID. This never starts the sender.
wpe_packet_edit_add_to_send将已捕获封包的编辑内容复制到指定发送任务,不会自动开始发送。Copy one captured packet, using supplied Base64 bytes, into a send task after local confirmation. list must be proxy or packet; obtain the packet fields from wpe_packet_edit_get. sendId accepts its exact visible name or GUID. It never starts the sender.
wpe_send_set_enabled启用或停用发送任务;是否需要本地确认取决于当前设置。Enable or disable one existing WPE send task after local confirmation. id accepts its exact visible name or GUID. This never starts the sender.
wpe_send_create新建发送任务;是否需要本地确认取决于当前设置。Create one empty WPE send task after local confirmation. This creates a task only; it never sends packets.
wpe_send_update更新发送任务;是否需要本地确认取决于当前设置。Update one existing WPE send task by GUID. Omitted scheduling values retain their current values; this never starts sending.
wpe_send_move调整发送任务的顺序;是否需要本地确认取决于当前设置。Move selected existing WPE send tasks by GUID. direction must be top, up, down, or bottom.
wpe_send_copy复制发送任务;是否需要本地确认取决于当前设置。Copy selected existing WPE send tasks by GUID. This never starts sending.
wpe_send_delete删除发送任务;是否需要本地确认取决于当前设置。Delete selected existing WPE send tasks by GUID after local confirmation. This never starts sending.
wpe_sends_clear清空发送任务;是否需要本地确认取决于当前设置。Clear all WPE send tasks after local confirmation. This never starts sending.
wpe_capture_add_to_send将已捕获封包复制到指定发送任务,不会自动开始发送。Copy selected inject-capture packets into an existing send task after local confirmation. sendId accepts its exact visible name or GUID. This never starts the sender.
wpe_proxy_capture_add_to_send将代理模式已捕获封包复制到指定发送任务,不会自动开始发送。Copy selected proxy-capture packets into an existing send task after local confirmation. sendId accepts its exact visible name or GUID. This never starts the sender.

机器人 · 15 个工具

工具名说明
wpe_robots_start启动机器人任务;是否需要本地确认取决于当前设置。Start WPE's enabled robot-task list after local confirmation.
wpe_robots_stop停止机器人任务;是否需要本地确认取决于当前设置。Stop WPE's robot-task list after local confirmation.
wpe_robot_start启动机器人任务;是否需要本地确认取决于当前设置。Start one enabled WPE robot task after local confirmation. id accepts its exact visible name or GUID.
wpe_robots_list查看机器人任务列表,不修改现有配置。List a bounded page of robot-task metadata.
wpe_robot_get查看指定机器人任务的详细信息。Get one robot task and its native instruction configuration. id accepts its exact visible name or GUID.
wpe_robot_instruction_add向机器人指令添加一项内容;是否需要本地确认取决于当前设置。Add one validated native robot instruction after local confirmation. robot accepts the exact visible robot name (for example, "机器人 1") or its GUID; WPE resolves a unique name internally and reports missing or duplicate names. type values are 0=send task GUID, 1=delay, 2=loop start, 3=loop end, 4=keyboard, 5=mouse, 6=send-packet list, 7=system socket, 8=switch. content is only that instruction's parameter—never prefix it with type or a localized name. For a fixed 1000 ms delay call type=1 and content="1000"; a random delay is "min-max" such as "500-1000".
wpe_robot_instructions_save更新机器人指令;是否需要本地确认取决于当前设置。Replace a robot's complete instruction list atomically after local confirmation. Use this for loops because WPE rejects a temporarily unmatched loop start/end. robot accepts its exact visible name or GUID. instructions is an ordered array of native instruction objects: delay uses type 1 with content milliseconds (or min-max); loop start uses type 2 with positive count content; loop end uses type 3 with empty content; keyboard uses type 4 with content action|key, where action is Press, Down, Up, Combine, or Text and the number-row 1 key is Press|D1. Read wpe_robot_get afterwards to verify the saved order.
wpe_robot_instruction_action执行机器人指令的原生操作;是否需要本地确认取决于当前设置。Edit native robot instructions after local confirmation. action must be top, up, down, bottom, delete, or clear (copy is not supported). robotId accepts the exact visible robot name or GUID; indexes are zero-based positions in the current wpe_robot_get instruction array, and may be empty only for clear.
wpe_robot_set_enabled启用或停用机器人任务;是否需要本地确认取决于当前设置。Enable or disable one existing WPE robot task after local confirmation. id accepts its exact visible name or GUID. This never starts the robot.
wpe_robot_create新建机器人任务;是否需要本地确认取决于当前设置。Create one empty WPE robot task after local confirmation. This creates a robot only; it never executes it.
wpe_robot_update更新机器人任务;是否需要本地确认取决于当前设置。Update one existing WPE robot task by GUID. This never starts the robot.
wpe_robot_move调整机器人任务的顺序;是否需要本地确认取决于当前设置。Move selected existing WPE robot tasks by GUID. direction must be top, up, down, or bottom.
wpe_robot_copy复制机器人任务;是否需要本地确认取决于当前设置。Copy selected existing WPE robot tasks by GUID. This never starts robots.
wpe_robot_delete删除机器人任务;是否需要本地确认取决于当前设置。Delete selected existing WPE robot tasks by GUID after local confirmation. This never starts robots.
wpe_robots_clear清空机器人任务;是否需要本地确认取决于当前设置。Clear all WPE robot tasks after local confirmation. This never starts robots.

仓库 · 16 个工具

工具名说明
wpe_warehouse_list查看封包仓库列表,不修改现有配置。List a bounded page of warehouse metadata.
wpe_warehouse_get查看指定封包仓库的详细信息。Get one warehouse and a bounded page of its stored-packet records. REQUIRED: first call wpe_warehouse_list, then pass that row's Id GUID as id. Do not omit id and do not use the warehouse display name.
wpe_auto_stores_list查看自动入库规则列表,不修改现有配置。List automatic warehouse rules without changing them.
wpe_auto_stores_save更新自动入库规则;是否需要本地确认取决于当前设置。Create or update one automatic warehouse rule after local confirmation. An empty id creates a disabled rule; warehouseId accepts its exact visible warehouse name or GUID.
wpe_auto_stores_set_enabled启用或停用自动入库规则;是否需要本地确认取决于当前设置。Enable or disable one automatic warehouse rule after local confirmation.
wpe_auto_stores_delete删除自动入库规则;是否需要本地确认取决于当前设置。Delete one automatic warehouse rule after local confirmation.
wpe_warehouse_stores_action执行仓库中的封包的原生操作;是否需要本地确认取决于当前设置。Edit selected warehouse packets after local confirmation. action must be top, up, down, bottom, copy, export, or delete. warehouseId accepts its exact visible name or GUID; storeIds must be IDs returned by wpe_warehouse_get. Export opens WPE's local save dialog.
wpe_warehouse_stores_command执行仓库中的封包的原生操作;是否需要本地确认取决于当前设置。Run a native warehouse command after local confirmation. action must be import, export, or clear. warehouseId accepts its exact visible name or GUID. Import/export open WPE's local file dialogs.
wpe_warehouse_create新建封包仓库;是否需要本地确认取决于当前设置。Create one empty WPE warehouse after local confirmation. This creates storage only; it does not import or alter captured packets.
wpe_warehouse_update更新封包仓库;是否需要本地确认取决于当前设置。Update one existing WPE warehouse name by GUID.
wpe_warehouse_move调整封包仓库的顺序;是否需要本地确认取决于当前设置。Move selected existing WPE warehouses by GUID. direction must be top, up, down, or bottom.
wpe_warehouse_copy复制封包仓库;是否需要本地确认取决于当前设置。Copy selected existing WPE warehouses by GUID.
wpe_warehouse_delete删除封包仓库;是否需要本地确认取决于当前设置。Delete selected existing WPE warehouses by GUID after local confirmation.
wpe_warehouses_clear清空封包仓库;是否需要本地确认取决于当前设置。Clear all WPE warehouses after local confirmation.
wpe_capture_add_to_warehouse将已捕获封包复制到指定封包仓库。Copy selected inject-capture packets into an existing warehouse after local confirmation. warehouseId accepts its exact visible name or GUID.
wpe_proxy_capture_add_to_warehouse将代理模式已捕获封包复制到指定封包仓库。Copy selected proxy-capture packets into an existing warehouse after local confirmation. warehouseId accepts its exact visible name or GUID.

设置 · 11 个工具

工具名说明
wpe_remote_management_get查看指定 WPE 数据的详细信息。Return WPE remote-management configuration, including the administrator credentials and whether its HTTP server is running.
wpe_remote_management_save更新 WPE 数据;是否需要本地确认取决于当前设置。Save WPE remote-management address and administrator credentials, then start or stop its existing HTTP server according to enabled.
wpe_setting_get查看指定 WPE 数据的详细信息。Return the complete configuration snapshot for one WPE settings page. page is proxy, process, leach, hook, list, map, extproxy, hotkey, remote, firewall, system, or log; mode is proxy or inject where applicable. Backup has no readable settings page; use wpe_export or wpe_import directly.
wpe_setting_save更新 WPE 数据;是否需要本地确认取决于当前设置。Save one WPE settings page using its complete current-page values. First call wpe_setting_get for the same page, then submit that returned object with only intentional edits: do not invent values or omitted fields. page is proxy, list, map, extproxy, hotkey, remote, firewall, system, or log; use the specialized process/leach/hook/backup tools for those native workflows.
wpe_map_local_save更新 WPE 数据;是否需要本地确认取决于当前设置。Create or update one WPE local HTTP mapping rule. id is the returned mapping GUID, or an empty string to create; protocol is 0 for HTTP or 1 for HTTPS.
wpe_map_remote_save更新 WPE 数据;是否需要本地确认取决于当前设置。Create or update one WPE remote HTTP mapping rule. id is the returned mapping GUID, or an empty string to create; protocolFrom and protocolTo are each 0 for HTTP or 1 for HTTPS.
wpe_wpc_servers_list查看 WPE 数据列表,不修改现有配置。List WPE ProxyCap (WPC) server configurations and their rule counts.
wpe_wpc_server_save更新 WPE 数据;是否需要本地确认取决于当前设置。Create or update one WPE ProxyCap (WPC) server, including its three client URL fields. To create, omit id entirely; the result returns the generated GUID. To update, id accepts the exact visible server name or GUID.
wpe_wpc_server_rules_list查看 WPE 数据列表,不修改现有配置。List proxy rules under one WPC server. serverId accepts its exact server name or GUID.
wpe_wpc_server_rule_save更新 WPE 数据;是否需要本地确认取决于当前设置。Create or update one proxy rule under a WPE ProxyCap (WPC) server. serverId accepts the exact visible server name or GUID. To create a rule, omit id; to update, use the rule GUID returned by wpe_wpc_server_rules_list. type is the native RuleType numeric value 0=DOMAIN, 1=DOMAIN-SUFFIX, 2=DOMAIN-KEYWORD, 3=DOMAIN-REGEX, 4=GEOIP, 5=GEOSITE, 6=IP-CIDR, 7=IP-CIDR6, 8=SRC-IP-CIDR, 9=SRC-PORT, 10=DST-PORT, 11=PROCESS-NAME, 12=PROCESS-PATH, 13=NETWORK, 14=RULE-SET, 15=MATCH, 16=AND, 17=OR, 18=NOT, 19=SUB-RULE, 20=IN-PORT, 21=UI-EX, 22=COMMAND, 23=DEVICE-NAME; action is 0=PROXY, 1=REJECT, or 2=DIRECT. A global proxy rule is enabled MATCH (type 15), empty argument, PROXY (action 0).
wpe_start_mode_select处理 WPE 启动模式相关功能。Select WPE proxy or inject mode only while WPE is on its start page; success opens that mode's page. This never starts proxy listeners or injects. If the requested mode is already selected, it returns an unchanged successful state; a different selected mode returns a structured unavailable state.

其它 · 3 个工具

工具名说明
wpe_status_get查看指定 WPE 当前运行状态的详细信息。Return the current WPE runtime status.
wpe_logs_list查看 WPE 系统日志列表,不修改现有配置。List a bounded page of WPE logs. kind must be system, filter, proxy, or mcp.
wpe_logs_all_list查看 WPE 系统日志列表,不修改现有配置。List a single time-ordered page across all WPE system, filter, proxy, and MCP operational logs.