# tool

> For AI agents: the complete documentation index is at https://buddy.works/llms.txt

## Usage

```bash
bdy integration exec tool [options] <integration> <tool>
```

Show a tool with its arguments (input schema) Required scopes: INTEGRATION_USE

## Arguments

| **Argument** | **Description** |
| :--- | :--- |
| `integration` | Integration identifier (required) |
| `tool` | Tool name (required) |

## Options

| **Option** | **Description** |
| :--- | :--- |
| `--context <name>` | Connection and scope context: default, git, link or a saved name. Overrides the globally active context for this invocation. |
| `--examples` | Show only examples; with this flag --format accepts text, json or jsonl |
| `--verbose` | Show REST API requests, responses, timing and retries on stderr |
| `-w, --workspace <domain>` | Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE |
| `-p, --project <name>` | Project name. Can be set via variable: BUDDY_PROJECT |
| `--scope <scope>` | Force scope (WORKSPACE, PROJECT, ENVIRONMENT). By default calculated by provided options and environmental variables (--project, --environment, BUDDY_PROJECT, linked project) |
| `--environment <identifier>` | Environment identifier to scope the integration to. Resolves a workspace environment; add |
| `--project` | to point at a project environment |
| `--format <text\|json>` | Output format: json, text. JSON CLI errors: {error:{code,message,hint}}, exit 1. Default: text (choices: "text", "json") |
| `-h, --help` | display help for command |

Documentation for bdy v1.25.34

## Examples

### Show a tool and the arguments it takes

```bash
bdy int exec tool integration-identifier search_issues
```

### Get the full tool definition with its input schema

```bash
bdy int exec tool integration-identifier search_issues --format json
```


---
Original source: https://buddy.works/docs/cli/integration/exec/tool