Documentation Index
Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Tool Hub is the hosted integration layer for Runtools. Tools run ontools.runtools.ai, resolve credentials server-side, and can be called directly or from agents.
Tools are stored in the same public/private custom-tool system whether they are official marketplace tools or tools your organization deploys.
Marketplace
Credential Resolution
When executing a tool, Runtools fills credentials in this order:| Priority | Source |
|---|---|
| 1 | Per-request credentials |
| 2 | Per-request credentialOverrides that map credential fields to named secrets |
| 3 | Stored credentials for the installed tool |
| 4 | Matching user-private or org-shared secrets |
| 5 | OAuth connection declared by the tool credentials spec |
Execute a Tool
Custom Tools
Create tools withdefineTool():
tools/customer-api.ts
SDK Methods
| Method | Description |
|---|---|
rt.tools.marketplace() | List public tools |
rt.tools.search(query) | Search public tools |
rt.tools.get(slug) | Fetch public tool metadata |
rt.tools.list() | List installed tools for the caller |
rt.tools.custom() | List visible custom tools |
rt.tools.install(slug) | Install a tool |
rt.tools.uninstall(slug) | Uninstall a tool |
rt.tools.storeCredentials(slug, credentials) | Store user-owned credentials |
rt.tools.credentials(slug) | Check stored credential status |
rt.tools.clearCredentials(slug) | Remove stored credentials |
rt.tools.execute(slug, options) | Execute an action |
Best Practices
Use OAuth for user-owned accounts
Use OAuth for user-owned accounts
Connected Apps avoid manual token handling and refresh automatically.
Use secrets for API-key tools
Use secrets for API-key tools
Store shared API keys as org-wide secrets or user-private secrets instead of passing them in every request.
Test tools directly
Test tools directly
Run
runtools tool exec before adding a tool to an agent definition.