Tool tree
Hotel investment, development and hospitality asset management from 12.18.
Implementation
gradeNot graded
gradeNot graded
getAnswer
Loads one or more items by type and id. The default response contains only the readable record. Before updating, an admin loads data.view "edit" to receive the exact writable fields once. Prefer one batch call with an id array when several records of the same type are needed.
View tool JSON
{
"name": "get",
"kind": "answer",
"impl": "imperative",
"description": "Loads one or more items by type and id. The default response contains only the readable record. Before updating, an admin loads data.view \"edit\" to receive the exact writable fields once. Prefer one batch call with an id array when several records of the same type are needed.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"description": "Item type."
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "Item id, or an array of id strings for one batch call."
},
"data": {
"type": "object",
"additionalProperties": true,
"description": "Optional type-specific parameters. Admin updates first use {\"view\":\"edit\"} to load the exact writable fields; other handlers may document further parameters."
},
"types": {
"type": "boolean",
"description": "Return the available types of this tool instead of running it."
}
},
"required": [
"type",
"id"
]
},
"page": "/en"
}searchAnswer
Finds content across the website. Start here, then load what you need with get. If the current results are insufficient, the response may offer a deeper full-website search on the next page.
View tool JSON
{
"name": "search",
"kind": "answer",
"impl": "imperative",
"description": "Finds content across the website. Start here, then load what you need with get. If the current results are insufficient, the response may offer a deeper full-website search on the next page.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"terms": {
"type": "array",
"items": {
"type": "string"
},
"description": "Short search keywords, never a whole sentence. Include synonyms, abbreviations and alternative spellings as separate terms. Content is stored in de and en — include terms in every content language."
},
"type": {
"type": "string",
"description": "Restrict the search to one source, for callers that already know it."
},
"mode": {
"type": "string",
"enum": [
"and",
"or"
],
"description": "Use or (default) for alternatives, synonyms or uncertain wording; it matches any term and is the better choice when unsure. Use and only when every term must occur in the same result."
},
"page": {
"type": "integer",
"description": "Search depth page. Use a next page offered by the response when the current results are insufficient."
},
"start": {
"type": "string",
"description": "Optional start of a date range, for the sources that document one."
},
"end": {
"type": "string",
"description": "Optional end of a date range, for the sources that document one."
},
"data": {
"type": "object",
"additionalProperties": true,
"description": "Optional filters of one source, for the sources that document them."
}
},
"required": [
"terms"
]
},
"page": "/en"
}