Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Install the Runtools SDK
runtools auth keys create
npm install @runtools-ai/sdk
RUNTOOLS_API_KEY=rt_live_xxx
import { RunTools } from '@runtools-ai/sdk'; export const rt = new RunTools({ apiKey: process.env.RUNTOOLS_API_KEY, });
const rt = new RunTools({ apiKey: process.env.RUNTOOLS_API_KEY, apiUrl: 'https://api.runtools.ai', authUrl: 'https://auth.runtools.ai', toolsUrl: 'https://tools.runtools.ai', });
const page = await rt.sandbox.listPage({ limit: 5 }); console.log(page.data.length, page.hasMore);
import { RunTools } from '@runtools-ai/sdk'; const rt = new RunTools({ apiKey: process.env.RUNTOOLS_API_KEY }); export async function POST() { const sandbox = await rt.sandbox.create({ template: 'base-ubuntu' }); return Response.json({ id: sandbox.id }); }