---
title: "First tool call"
description: "Find a tool by describing the job, then run it once from the CLI or from an MCP client."
url: https://docs.spinrun.ai/getting-started/first-tool-call
markdown_url: https://docs.spinrun.ai/getting-started/first-tool-call.md
---

# First tool call

The run surface has no REST form: it is an MCP endpoint, and the CLI is a shell over it. Either way the loop is the same — describe the job, pick the tool it finds, call it once.



### CLI

```bash
spinrun search "create an issue"
spinrun execute GITHUB_CREATE_ISSUE -d '{"owner":"acme","repo":"api","title":"..."}'
```

### MCP client

With the gateway [installed](https://docs.spinrun.ai/install.md) in your client, ask it in plain words: "search Spinrun for a tool that creates a GitHub issue, then create one in acme/api titled …". The client calls the gateway's search tool, shows you the match and its input schema, and runs it through your connection.



## Related [#related]

* [Install](https://docs.spinrun.ai/install.md)
* [CLI](https://docs.spinrun.ai/cli.md)
* [Build](https://docs.spinrun.ai/build.md)
