Tool API reference
Tool API reference
The reference below reads function signatures, types, parameter comments, return comments and docstrings from the Python source. Use the tool catalog to choose tools and open their notebook examples. Use these pages to check arguments, defaults, results and side effects before a call.
Import public tools and setup helpers from nbinlineai.tools. The reference
groups each function under the module that defines it. The source links open
that module on GitHub. The reference also includes two existing utilities,
fetch_url_markdown and normalize_capture_action. Use the catalog to identify
the 96 functions that nbinlineai registers as model tools.
| Module | Functions |
|---|---|
| Tool setup and core tools | Catalog groups, declarations, live cells, saved notebook reads, kernel names and URL notes. |
| Files and callable documentation | Saved files, checked text edits and live callable documentation. |
| Live notebook editing | Search and edit cells in the open notebook. |
| Saved search and documents | Saved notebook and file search, static Python documentation, document sections and checked edits. |
| Kernel inspection and skills | Live objects, module imports, traces and registered skill instructions. |
| Execution | Explicit subprocess and shell calls. |
| Web pages | Bounded public URL text and selected page sections. |
| Browser operations | Capabilities, operation status, cancellation and managed media. |
| Live outputs | Output selection, text and images from the open notebook. |
| Capture | Camera, microphone, screen and recording controls. |
| Playback and clipboard | Media previews, playback controls, copying and pasting. |
| Transformations | Frames, cropping and image annotation. |
| Image attachment | A visible action to attach an image to an AI question. |
Browser functions return a Python receipt before the browser finishes. Inspect the same receipt in a later cell. AI calls receive a fixed status snapshot. See browser receipts for the follow-up steps.
For model tools, the function docstring supplies the description. Docments parameter comments supply argument descriptions when Fastcore can read the function’s source. If the kernel lacks Fastcore, the source is unavailable or parsing fails, argument descriptions fall back to parameter names. Types and defaults still come from the callable signature. See Development for the source convention and documentation checks.