Create Custom Schema
machship_create_custom_schemaCreates a custom schema to extend Machship entities with additional fields, letting you define a schema name, target entity type, and JSON schema.
Instructions
Creates a new custom schema to extend Machship entities with additional fields.
Args:
name (string): Schema name
type (string): Schema type/entity to extend
schema (object): JSON schema definition
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": {
"name": "<name>",
"type": "<type>",
"schema": "<schema>"
},
"name": "machship_create_custom_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Schema name | |
| type | Yes | Schema type/entity | |
| schema | Yes | JSON schema definition |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |