| { |
| "name": "dynamic_space", |
| "description": "Perform Tasks with Hugging Face Spaces. Use \"discover\" to view available Tasks. Examples are Image Generation/Editing, Background Removal, Text to Speech, OCR and many more. Call with no arguments for full usage instructions.", |
| "inputSchema": { |
| "type": "object", |
| "properties": { |
| "operation": { |
| "type": "string", |
| "enum": [ |
| "discover", |
| "view_parameters", |
| "invoke" |
| ], |
| "description": "Operation to perform." |
| }, |
| "space_name": { |
| "type": "string", |
| "description": "Space ID (format: \"username/space-name\"). Required for \"view_parameters\" and \"invoke\" operations." |
| }, |
| "parameters": { |
| "type": "string", |
| "description": "JSON object string of parameters. Only used for \"invoke\" operation." |
| } |
| }, |
| "additionalProperties": false, |
| "$schema": "http://json-schema.org/draft-07/schema#" |
| } |
| } |