action dnd5eapi_get_api_classes_index_spellcasting { label: "Get spellcasting info for a class." provider: dnd5eapi method: GET path: "/api/classes/{index}/spellcasting" encoding: json output: { type: "object" description: "`Spellcasting`\n" properties: { info: { type: "array" description: "Descriptions of the class' ability to cast spells." items: { type: "object" properties: { desc: { type: "array" description: "Feature description." items: { type: "string" } } name: { type: "string" description: "Feature name." } } } } level: { type: "number" description: "Level at which the class can start using its spellcasting abilities." } spellcasting_ability: { description: "Reference to the `AbilityScore` used for spellcasting by the class." type: "object" } } } }