For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETList tools
      • POSTCreate tool
      • GETGet tool schemas
      • GETList built-in tools
      • GETList compatible built-in tools
      • GETGet built-in tool schema
      • GETGet tool details
      • PUTUpdate tool
      • DELDelete tool
Dashboard
LogoLogo
Runtype APITools

Get built-in tool schema

GET
/v1/tools/builtin/:toolId/schema
GET
/v1/tools/builtin/:toolId/schema
$curl https://api.runtype.com/v1/tools/builtin/toolId/schema \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "id": "text-generator",
3 "name": "Text Generator",
4 "description": "Generates human-like text based on the input prompt using advanced AI models.",
5 "parametersSchema": {
6 "prompt": {
7 "type": "string",
8 "description": "The input text prompt to generate completions for.",
9 "maxLength": 1000
10 },
11 "maxTokens": {
12 "type": "integer",
13 "description": "Maximum number of tokens to generate in the completion.",
14 "minimum": 1,
15 "maximum": 2048
16 },
17 "temperature": {
18 "type": "number",
19 "description": "Controls randomness in output. Lower values make output more deterministic.",
20 "minimum": 0,
21 "maximum": 1
22 },
23 "topP": {
24 "type": "number",
25 "description": "Controls diversity via nucleus sampling.",
26 "minimum": 0,
27 "maximum": 1
28 }
29 },
30 "defaultConfig": {
31 "maxTokens": 150,
32 "temperature": 0.7,
33 "topP": 0.9
34 }
35}

Get the parameter schema and default configuration for a specific built-in tool.

Was this page helpful?
Previous

Get tool details

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

toolIdstringRequired

Response

Built-in tool parameter schema

idstring
namestring
descriptionstring
parametersSchemamap from strings to any
defaultConfigmap from strings to any

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error