Skip to content
Wysp Docs

tools.*

Add a destination to the trip

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.add_destination",
"data": {
"requestId": "myrequest-123",
"params": {
"query": "cafe sara"
}
}
}

Change the user’s given name

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.change_given_name",
"data": {
"requestId": "myrequest-123",
"params": {
"givenName": "string"
}
}
}

Change the user’s language preferences

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.change_languages",
"data": {
"requestId": "myrequest-123",
"params": {
"languages": [
"en-US"
]
}
}
}

Set the travel mode for navigation

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.change_travel_mode",
"data": {
"requestId": "myrequest-123",
"params": {
"travelMode": "BICYCLE"
}
}
}

Change the user’s language preference and start speaking a different language

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.change_unit_system",
"data": {
"requestId": "myrequest-123",
"params": {
"unitSystem": "LOCAL"
}
}
}

Get clarification on which way to go

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.get_clarification",
"data": {
"requestId": "myrequest-123",
"params": {
"question": "where do I turn?"
}
}
}

Remove a destination from the trip

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.remove_destination",
"data": {
"requestId": "myrequest-123",
"params": {
"destination": "cafe sara"
}
}
}

Reorder the destinations within a trip

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.reorder_destinations",
"data": {
"requestId": "myrequest-123",
"params": {
"desiredOrder": "Cafe Sara, then Astrup Fearnley"
}
}
}

Search the map for places, addresses, businesses, etc.

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.search_map",
"data": {
"requestId": "myrequest-123",
"params": {
"query": "coffee shop on the way"
}
}
}

Start navigation mode

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.start_navigation",
"data": {
"requestId": "myrequest-123",
"params": {}
}
}

Stop navigation mode

type: object

NameTypeRequiredDescription
requestIdstringyesArbitrary ID (for response matching)
paramsobjectyes
{
"kind": "tools.stop_navigation",
"data": {
"requestId": "myrequest-123",
"params": {}
}
}