set_schema
Set or update a dataset's schema for a draft or active listing, defining columns, types, and descriptions so buyers know what fields it contains.
Instructions
Set or update the data schema for a draft or active listing. Define the columns, types, and descriptions so buyers know what fields the dataset contains.
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": {
"dataset_id": "<dataset_id>",
"schema": "<schema>"
},
"name": "set_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema object describing columns/fields. Example: { "columns": [{ "name": "id", "type": "integer" }, { "name": "email", "type": "string" }] } | |
| dataset_id | Yes | The dataset ID |