---
updatedAt: 2026-03-19T19:39:15.000Z
agentTools:
  projectIndex: https://developers.miro.com/llms.txt
---

# Tools

### Methods

### getTool

<pre class="sdk-reference-type">() =&gt; Promise&lt;ToolType&gt;</pre>

##### 🚦 Rate limit: [Level 1](https://developers.miro.com/docs/rate-limiting "1")

**<span><img alt="Experimental feature" src="https://files.readme.io/4598fa6-experimental-flask-color.svg" width="24" ></span> Experimental**

### Getting current tool

Use this method to retrieve the currently selected tool on a Miro board.

```typescript
await miro.board.experimental.tools.getTool()
// 'CURSOR'
```

***

### setTool

<pre class="sdk-reference-type">(tool: ToolType) =&gt; Promise&lt;void&gt;</pre>

##### 🚦 Rate limit: [Level 1](https://developers.miro.com/docs/rate-limiting "1")

**<span><img alt="Experimental feature" src="https://files.readme.io/4598fa6-experimental-flask-color.svg" width="24" ></span> Experimental**

### Setting tool

Use this method to set a tool on a Miro board.

```typescript
await miro.board.experimental.tools.setTool('HIGHLIGHTER')
// Check your cursor in Miro board now
```

Supported tools:

* `COMMENT`
* `CURSOR`
* `ERASER`
* `HAND`
* `HIGHLIGHTER`
* `PEN`
* `STICKER`
* `TEXT`

### All properties

<table><tr><th>Property</th><th>Type</th></tr>
<tr>
  <td><code>getTool</code></td>
  <td>
    <pre class="sdk-reference-type">() =&gt; Promise&lt;ToolType&gt;</pre>
  </td>
</tr>
<tr>
  <td><code>setTool</code></td>
  <td>
    <pre class="sdk-reference-type">(tool: ToolType) =&gt; Promise&lt;void&gt;</pre>
  </td>
</tr></table>

# Sibling pages

* [Interact with boards and items](https://developers.miro.com/miro-ea/docs/websdk-reference-interact-with-boards-and-items.md)
* [Rate limiting](https://developers.miro.com/miro-ea/docs/websdk-reference-rate-limiting.md)
* [Error handling](https://developers.miro.com/miro-ea/docs/websdk-reference-error-handling.md)
* [Board](https://developers.miro.com/miro-ea/docs/websdk-reference-board.md)
* [Card](https://developers.miro.com/miro-ea/docs/websdk-reference-card.md)
* [Board UI](https://developers.miro.com/miro-ea/docs/websdk-reference-ui.md)
* [Viewport](https://developers.miro.com/miro-ea/docs/websdk-reference-viewport.md)
* [Notifications](https://developers.miro.com/miro-ea/docs/websdk-reference-notifications.md)
* [App card](https://developers.miro.com/miro-ea/docs/websdk-reference-app-card.md)
* [Experimental](https://developers.miro.com/miro-ea/docs/websdk-reference-experimental.md)
* [Realtime Events](https://developers.miro.com/miro-ea/docs/websdk-reference-events.md)
* [Tag](https://developers.miro.com/miro-ea/docs/websdk-reference-tag.md)
* [Custom Action Management](https://developers.miro.com/miro-ea/docs/websdk-reference-custom-action-management.md)
* [Shape](https://developers.miro.com/miro-ea/docs/websdk-reference-shape.md)
* [Frame](https://developers.miro.com/miro-ea/docs/websdk-reference-frame.md)
* [Image](https://developers.miro.com/miro-ea/docs/websdk-reference-image.md)
* [Sticky Note](https://developers.miro.com/miro-ea/docs/websdk-reference-sticky-note.md)
* [Shape experimental](https://developers.miro.com/miro-ea/docs/websdk-reference-shape-experimental.md)
* [Embed](https://developers.miro.com/miro-ea/docs/websdk-reference-embed.md)
* [Connector](https://developers.miro.com/miro-ea/docs/websdk-reference-connector.md)
* [Unsupported](https://developers.miro.com/miro-ea/docs/websdk-reference-unsupported.md)
* [Mindmap Node](https://developers.miro.com/miro-ea/docs/websdk-reference-mindmap-node.md)
* [Preview](https://developers.miro.com/miro-ea/docs/websdk-reference-preview.md)
* [Text](https://developers.miro.com/miro-ea/docs/websdk-reference-text.md)
* [Storage collection](https://developers.miro.com/miro-ea/docs/websdk-reference-collection.md)
* [Storage](https://developers.miro.com/miro-ea/docs/websdk-reference-storage.md)
* [Collaboration](https://developers.miro.com/miro-ea/docs/websdk-reference-collaboration.md)
* [Session](https://developers.miro.com/miro-ea/docs/websdk-reference-session.md)
* [Attention](https://developers.miro.com/miro-ea/docs/websdk-reference-attention.md)
* [Group](https://developers.miro.com/miro-ea/docs/websdk-reference-group.md)
* [History](https://developers.miro.com/miro-ea/docs/websdk-reference-history.md)