document_add_schema
Add a schema definition to an API document session. Provide schema name and JSON definition to extend data models.
Instructions
Add a schema definition to the document
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session": "<session>",
"name": "<name>",
"schema": "<schema>"
},
"name": "document_add_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Schema name | |
| schema | Yes | JSON string with the schema definition | |
| session | Yes | Session name |