harness_schema
Get the JSON Schema for a Harness resource type (pipeline, template, or trigger) to understand the required body structure for create or update operations. Optionally drill into specific sections with a dot-separated path.
Instructions
Fetch Harness YAML schema for a resource type. Returns the JSON Schema definition so you know the exact body structure for harness_create/harness_update. Use without path for a summary of fields and available sections. Use with path to drill into a specific section (e.g. path='scheduled_trigger' for cron trigger spec). Available schemas: pipeline, template, trigger.
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": {
"resource_type": "<resource_type>"
},
"name": "harness_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_type | Yes | Schema to fetch: pipeline, template, or trigger | |
| path | No | Dot-separated path to drill into a specific definition section. E.g. 'trigger_source' for source types, 'scheduled_trigger' for cron spec, 'webhook_trigger' for webhook spec. Omit for a top-level summary. |