# wps_execute_method

执行自定义WPS API方法

Agent View of the PolicyLayer registry record for `wps_execute_method`. HTML page: https://policylayer.com/tools/wps-office-mcp/wps-execute-method

## Facts

- Tool: `wps_execute_method`
- Server: Wps Office (`wps-office-mcp`) — https://policylayer.com/tools/wps-office-mcp.md
- Install: `npx -y wps-office-mcp`
- Homepage: https://www.npmjs.com/package/wps-office-mcp
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 3 (1 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `method` | string | yes | API方法名 |
| `params` | object | no | 方法参数 |
| `appType` | string | no | 应用类型：wps（文字）、et（表格）、wpp（演示） |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "wps_execute_method",
    "arguments": {
      "method": "<method>"
    }
  }
}
```

## Why wps_execute_method is rated High

wps_execute_method triggers real processes with real consequences. An agent gone sideways doesn't fire it once. It starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.

## Use case

AI agents invoke wps_execute_method to trigger actions in Wps Office. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Wps Office:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "wps_execute_method": {
      "limits": [
        {
          "counter": "wps_execute_method_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Wps Office (249)

- `wps_clear_cache` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-clear-cache.md
- `wps_excel_clear_range` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-excel-clear-range.md
- `wps_excel_delete_cell_comment` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-excel-delete-cell-comment.md
- `wps_excel_delete_column` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-excel-delete-column.md
- `wps_excel_delete_columns` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-excel-delete-columns.md
- `wps_excel_delete_row` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-excel-delete-row.md
- `wps_excel_delete_rows` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-excel-delete-rows.md
- `wps_excel_delete_sheet` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-excel-delete-sheet.md
- `wps_excel_remove_duplicates` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-excel-remove-duplicates.md
- `wps_ppt_add_animation_preset` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-ppt-add-animation-preset.md
- `wps_ppt_delete_ppt_image` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-ppt-delete-ppt-image.md
- `wps_ppt_delete_shape` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-ppt-delete-shape.md
- `wps_ppt_delete_slide` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-ppt-delete-slide.md
- `wps_ppt_delete_textbox` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-ppt-delete-textbox.md
- `wps_ppt_remove_animation` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-ppt-remove-animation.md
- `wps_ppt_remove_ppt_hyperlink` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-ppt-remove-ppt-hyperlink.md
- `wps_ppt_remove_slide_transition` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-ppt-remove-slide-transition.md
- `wps_ppt_set_slide_transition` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-ppt-set-slide-transition.md
- `wps_ppt_set_transition` — Destructive — https://policylayer.com/tools/wps-office-mcp/wps-ppt-set-transition.md
- `wps_ppt_start_slide_show` — Execute — https://policylayer.com/tools/wps-office-mcp/wps-ppt-start-slide-show.md
- `wps_cache_data` — Read — https://policylayer.com/tools/wps-office-mcp/wps-cache-data.md
- `wps_check_connection` — Read — https://policylayer.com/tools/wps-office-mcp/wps-check-connection.md
- `wps_common_get_app_info` — Read — https://policylayer.com/tools/wps-office-mcp/wps-common-get-app-info.md
- `wps_common_get_selected_text` — Read — https://policylayer.com/tools/wps-office-mcp/wps-common-get-selected-text.md
- `wps_common_wire_check` — Read — https://policylayer.com/tools/wps-office-mcp/wps-common-wire-check.md
- `wps_excel_clean_data` — Read — https://policylayer.com/tools/wps-office-mcp/wps-excel-clean-data.md
- `wps_excel_find_replace` — Read — https://policylayer.com/tools/wps-office-mcp/wps-excel-find-replace.md
- `wps_excel_get_cell_comments` — Read — https://policylayer.com/tools/wps-office-mcp/wps-excel-get-cell-comments.md
- `wps_excel_get_cell_info` — Read — https://policylayer.com/tools/wps-office-mcp/wps-excel-get-cell-info.md
- `wps_excel_get_cell_value` — Read — https://policylayer.com/tools/wps-office-mcp/wps-excel-get-cell-value.md
- …and 219 more: https://policylayer.com/tools/wps-office-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=wps-office-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/wps-office-mcp
