toJson method
Implementation
Map<String, dynamic> toJson() => {
if (experimental) 'experimental': experimental,
if (tools) 'tools': tools,
if (resources) 'resources': resources,
if (prompts) 'prompts': prompts,
if (logging) 'logging': logging,
};