File size: 981 Bytes
31c9f7d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  "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#"
  }
}