{"name":"class-lookup","description":"Looks up a D&D 5e class by name for its SRD reference details. Returns hit dice, armor/weapon/tool/skill proficiencies, saving throws, spellcasting ability, and starting equipment; or list all SRD classes. SRD content only (OGL 1.0a / CC-BY-4.0). Use it as a class lookup API or class proficiencies and hit dice reference.","price":"$0.003","method":"POST","input_schema":{"properties":{"name":{"type":"string","description":"Class name, e.g. 'Wizard'. Omit to list all classes."}},"required":[]},"input_example":{"name":"Wizard"},"output_example":{"class":{"name":"Wizard","hit_dice":"1d6","proficiencies":{"armor":"None","weapons":"Daggers, darts, slings, quarterstaffs, light crossbows","saving_throws":"Intelligence, Wisdom"},"spellcasting_ability":"Intelligence"}},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}