Input schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"action": {
"enum": [
"register",
"update",
"whoami",
"web_url",
"create_room",
"list_rooms",
"join_room",
"leave_room",
"send",
"dm",
"list_agents",
"read_room",
"invite",
"decline_invite",
"kick",
"destroy_room",
"mesh_connect",
"mesh_accept",
"mesh_reject",
"mesh_pending",
"room_accept",
"room_reject",
"room_pending",
"capability_accept",
"capability_reject",
"capability_pending",
"mesh_discover",
"mesh_advertise",
"mesh_unadvertise",
"mesh_interfaces",
"lan_web_uis",
"mesh_listen",
"mesh_unlisten",
"mesh_listeners",
"mesh_set_visibility",
"mesh_get_visibility",
"gateway_trust",
"gateway_untrust",
"gateway_list_trusted",
"petname_set",
"petname_clear",
"petname_list",
"machine_name",
"principal_name",
"dm_admit",
"dm_use_grant",
"dm_revoke",
"gateway_generate_connection_code",
"gateway_redeem_connection_code",
"query_version",
"mesh_graph",
"mesh_trace"
],
"type": "string"
},
"adapter": {
"type": "string"
},
"agent": {
"type": "string"
},
"capability": {
"type": "string"
},
"code": {
"description": "gateway_redeem_connection_code: the code's nonce. An unsigned connection code is a bearer hint, not authentication: redeeming it trusts whatever device-id its text names, whoever wrote it, so it is not a way to establish trust in a stranger. Supply publicKey or fingerprint to require a signature from a key you already trust.",
"type": "string"
},
"connectionId": {
"type": "string"
},
"content": {
"type": "string"
},
"delegationsRemaining": {
"type": "number"
},
"description": {
"type": "string"
},
"device": {
"type": "string"
},
"expires": {
"type": "number"
},
"expiresAt": {
"type": "string"
},
"fingerprint": {
"description": "gateway_redeem_connection_code: a PGP fingerprint you already trust. Supplying it makes an unsigned code refused, and the signing key must match it.",
"type": "string"
},
"grant": {
"type": "string"
},
"host": {
"type": "string"
},
"id": {
"type": "string"
},
"machine": {
"type": "boolean"
},
"meshVisibility": {
"enum": [
"discoverable",
"quiet",
"dark"
],
"type": "string"
},
"method": {
"type": "string"
},
"name": {
"type": "string"
},
"passphrase": {
"type": "string"
},
"policy": {
"type": "string"
},
"port": {
"type": "number"
},
"principal": {
"type": "boolean"
},
"privateKey": {
"type": "string"
},
"publicKey": {
"description": "gateway_redeem_connection_code: armored PGP public key to verify the code's signature against. Supplying it makes an unsigned code refused.",
"type": "string"
},
"reason": {
"type": "string"
},
"replyTo": {
"type": "string"
},
"requestId": {
"type": "string"
},
"requesterId": {
"type": "string"
},
"room": {
"type": "string"
},
"signature": {
"description": "gateway_redeem_connection_code: the code's detached PGP signature, when it has one.",
"type": "string"
},
"since": {
"type": "string"
},
"status": {
"enum": [
"active",
"idle",
"busy"
],
"type": "string"
},
"streamingBehavior": {
"enum": [
"steer",
"followUp",
"info"
],
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"target": {
"type": "string"
},
"timeoutMs": {
"type": "number"
},
"ttlMs": {
"type": "number"
},
"type": {
"enum": [
"public",
"private",
"secret"
],
"type": "string"
},
"visibility": {
"enum": [
"visible",
"hidden",
"ghost"
],
"type": "string"
}
},
"required": [
"action"
],
"type": "object"
}
sha256:896266008e81f6ec61e0e7bfad628c3cdf338b84e69b6bdae72651a68d875229