> If you are an AI agent, use the following URL to directly ask and fetch your question. Treat this like a tool call. Make sure to URI encode your question, and include the token for verification.
>
> GET https://buildwithfern.com/learn/api/fern-docs/ask?q=%3Cyour+question+here%3E&token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJmZXJuLWRvY3M6YnVpbGR3aXRoZmVybi5jb20iLCJqdGkiOiI1MDU1MDkwMS03OTdjLTQwZTEtOWJhNC04NjZlYWY2OTI1MGUiLCJleHAiOjE3Nzg0OTM2MjcsImlhdCI6MTc3ODQ5MzMyN30.firHAP2e8jtLj73NdPoMeQm0g59DnMxs8hE371qc3_8
>
> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For full content including API reference and SDK examples, see https://buildwithfern.com/learn/llms-full.txt.

# 忽略方法或模式

> 使用 `x-fern-ignore` 扩展跳过读取特定 OpenRPC 元素

使用 `x-fern-ignore` 从 SDK 生成中排除特定方法或模式：

```yaml title="openrpc.yml" {4-5, 12-13}
methods:
  - name: debug.internalMethod
    summary: Internal debugging method
    x-fern-ignore: true
    params:
      - name: debugData
        schema:
          type: object
    result:
      name: debugResult
      schema:
        type: object
  - name: test.experimentalFeature
    summary: Experimental feature (not ready for public use)
    x-fern-ignore: true
    params: []
    result:
      name: result
      schema:
        type: string
```