feat: Add output schema support to MCP tools (#153)
This commit is contained in:
parent
4c3e5e61c7
commit
c0938a19bd
1 changed files with 605 additions and 55 deletions
|
|
@ -5,5 +5,17 @@
|
|||
"text": "{\n \"valid\": true,\n \"profile\": {\n \"name\": \"John Doe\",\n \"email\": \"john@example.com\",\n \"age\": 30,\n \"role\": \"user\"\n },\n \"errors\": [],\n \"warnings\": [],\n \"processed_at\": \"2025-01-01 00:00:00\"\n}"
|
||||
}
|
||||
],
|
||||
"structuredContent": {
|
||||
"valid": true,
|
||||
"profile": {
|
||||
"name": "John Doe",
|
||||
"email": "john@example.com",
|
||||
"age": 30,
|
||||
"role": "user"
|
||||
},
|
||||
"errors": [],
|
||||
"warnings": [],
|
||||
"processed_at": "2025-01-01 00:00:00"
|
||||
},
|
||||
"isError": false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue