Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def safe_parse_json_from_text(text: str):
|
|
| 77 |
# ---------------------------------------------------
|
| 78 |
# TRUE MCP TOOL — THIS must be exposed to MCP client
|
| 79 |
# ---------------------------------------------------
|
| 80 |
-
@mcp.
|
| 81 |
def robot_watch(payload: RobotWatchPayload): # <-- Type hint with Pydantic model
|
| 82 |
# The payload is already validated and typed correctly by fastmcp/pydantic
|
| 83 |
hf_token = payload.hf_token
|
|
|
|
| 77 |
# ---------------------------------------------------
|
| 78 |
# TRUE MCP TOOL — THIS must be exposed to MCP client
|
| 79 |
# ---------------------------------------------------
|
| 80 |
+
@mcp.tool("robot_watch", description="Analyze a base64 image using Qwen VLM and return structured JSON.")
|
| 81 |
def robot_watch(payload: RobotWatchPayload): # <-- Type hint with Pydantic model
|
| 82 |
# The payload is already validated and typed correctly by fastmcp/pydantic
|
| 83 |
hf_token = payload.hf_token
|