Spaces:
Sleeping
Sleeping
bigwolfe
commited on
Commit
·
2e98ac7
1
Parent(s):
c78c0b5
deploy to hf
Browse files
backend/src/mcp/server.py
CHANGED
|
@@ -197,7 +197,7 @@ def read_note(
|
|
| 197 |
}
|
| 198 |
|
| 199 |
return ToolResult(
|
| 200 |
-
content=[TextContent(type="text", text=f"Read note: {note['title']}")],
|
| 201 |
structured_content={"note": structured_note},
|
| 202 |
meta={
|
| 203 |
"openai/outputTemplate": "ui://widget/note.html",
|
|
|
|
| 197 |
}
|
| 198 |
|
| 199 |
return ToolResult(
|
| 200 |
+
content=[TextContent(type="text", text=f"Read note: {note['title']}\n\n{note['body']}")],
|
| 201 |
structured_content={"note": structured_note},
|
| 202 |
meta={
|
| 203 |
"openai/outputTemplate": "ui://widget/note.html",
|