use_tool
Call an installed Legwork repo tool by repo and tool name when it isn't listed in your client; it runs in the granted sandbox and returns output or errors.
Instructions
Call a tool of a repo installed through Legwork, by repo and tool name. Most clients also list installed tools directly as __; use this when the tool isn't in your list yet. It runs in the sandbox with the folders and network granted at install. Replies with the tool's output, marked as untrusted text and size-capped, plus (on macOS) anything the sandbox blocked; files it makes are copied to ~/Legwork/outputs/ by default. Calling a repo that isn't installed is an error that says to call install_tool; a wrong tool name is an error listing the repo's tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | owner/repo of an installed tool, e.g. 'jsvine/pdfplumber' | |
| tool | Yes | the tool's name as listed by install_tool or list_installed_tools, e.g. 'extract_tables' | |
| arguments | No | the arguments for that tool, an object of its parameters, e.g. {'path': '~/Downloads/report.pdf'}. Paths may start with ~/. Omitted: no arguments |