Download mcp_tools/get_task_list.py from Nklin261/ImageGen: direct link, hf CLI and curl.
- Browser
- Download file 375 Bytes
-
https://huggingface.co/spaces/Nklin261/ImageGen/resolve/main/mcp_tools/get_task_list.py
- Command line
-
hf download hf://spaces/Nklin261/ImageGen/mcp_tools/get_task_list.py
-
curl -L -o get_task_list.py https://huggingface.co/spaces/Nklin261/ImageGen/resolve/main/mcp_tools/get_task_list.py
375 Bytes
| """ | |
| MCP Tool: get_task_list | |
| Get a list of all supported image generation task types along with their required/optional parameter lists. | |
| """ | |
| from .common import _TASK_DEFINITIONS | |
| def handle_get_task_list() -> list: | |
| """Get a list of all supported image generation task types along with their required/optional parameter lists.""" | |
| return _TASK_DEFINITIONS | |