runtools.config.ts today.
Use these supported surfaces instead:
tools/custom-search.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Current status of Model Context Protocol support
runtools.config.ts today.
Use these supported surfaces instead:
| Need | Current Surface |
|---|---|
| Hosted integrations | Tool Hub marketplace tools |
| Custom integration code | defineTool() in tools/*.ts and runtools deploy |
| Per-provider OAuth | Connected Apps and Tool Hub credential resolution |
| Secrets | rt.secrets and runtools secret |
import { defineTool } from '@runtools-ai/sdk';
export default defineTool({
name: 'custom-search',
description: 'Search a private index',
actions: {
search: {
description: 'Search documents',
parameters: {
type: 'object',
properties: {
query: { type: 'string' },
},
required: ['query'],
},
execute: async (params) => {
return { results: [] };
},
},
},
});