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}.
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": {
"artifact_type": "<artifact_type>"
},
"name": "get_artifact_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |