---
sidebar_label: WebMCP.tools
---

# WebMCP.tools() method

Gets all WebMCP tools defined by the page.

### Signature

```typescript
class WebMCP {
  tools(): WebMCPTool[];
}
```

**Returns:**

[WebMCPTool](./puppeteer.webmcptool.md)\[\]
