Examples

Live demos

Use list_sessions readonly for a linked badge, or delete_session for a plain inline reference.

Tool cards

list_sessions

list_sessions
readonly tool
readonly tool
list_sessions

List active sessions for one server.

Returns:

list[str]

create_session

create_session
mutating tool
mutating tool
create_session

Create one session and return the created record.

Returns:

dict[str, str | int | bool]

delete_session

delete_session
destructive tool
destructive tool
delete_session

Delete one session from the server.

Returns:

bool

Parameter table

Parameters

Parameter

Type

Required

Default

Description

name

str

yes

Session name to create.

window_count

int

no

1

Initial number of windows.

detached

bool

no

False

Whether to create the session detached from the current client.

Tool summary

Inspect

Read state without changing anything.

Tool

Description

list_sessions

List active sessions for one server.

Act

Create or modify objects.

Tool

Description

create_session

Create one session and return the created record.

Destroy

Remove objects; not reversible.

Tool

Description

delete_session

Delete one session from the server.