get_artifact_schema
Returns the field schema for a Spira artifact type as JSON, listing each field's name, type, and description. Use it to discover available fields for tasks, incidents, requirements, and other artifacts.
Instructions
Returns the field schema for a Spira artifact type as JSON.
artifact_type: task, incident, requirement, test_case, release, risk, test_set, test_run, automation_host, capability, milestone Returns: {artifact_type, fields: [{name, type, description}]} or {error, valid_types}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |