|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
Describes a tool as advertised in tools/list. More...
#include <types.h>
Public Member Functions | |
| QJsonObject | toJson () const |
| The definition as a tools/list entry. | |
Public Attributes | |
| QString | name |
| Unique name, characters [A-Za-z0-9_.-]. | |
| QString | title |
| Optional human-readable title. | |
| QString | description |
| What the model reads to decide when to use the tool. | |
| QJsonObject | inputSchema |
| JSON Schema of the arguments; empty means {"type":"object"}. | |
| QJsonObject | outputSchema |
| Optional JSON Schema of structuredContent. | |
| QJsonObject | annotations |
| Optional hints (readOnlyHint, destructiveHint, ...). | |
Describes a tool as advertised in tools/list.