async fn handle_window_name(
__arg0: State<AppState>,
__arg1: Json<WindowNameRequest>,
) -> impl IntoResponseExpand description
POST /api/v1/window/name — set a window’s display name
(window:displayname), which the frontend turns into the OS/taskbar title.
Defaults to the caller’s own window (resolved from block_id). Routes
through the same object.UpdateObjectMeta service path the InstancePanel
rename uses, so persistence + live-title update are identical.
agentmux-mcp’s SetWindowName tool POSTs here.