get_artifact_schema
Retrieve the field schema for any Spira artifact type, returning field names, types, and descriptions.
Instructions
Returns the field schema for a Spira artifact type as JSON.
Args:
artifact_type: One of: task, incident, requirement, test_case,
release, risk, test_set, test_run, automation_host,
capability, milestone
Returns:
JSON: {"artifact_type": "...", "fields": [{"name", "type",
"description"}, ...]}
or {"error": "...", "valid_types": [...]} for unknown types.
Call get_artifact_schema(artifact_type='task') to see fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |