Tools
Reorder Tools
Set the sort order of tools within a server.
POST
Atomically writes the new
sort_order for every tool listed in tool_ids. The position in the array becomes the tool’s order; tools belonging to the server but missing from the array are left untouched.
IDs in the array that don’t belong to the target server are silently dropped — only valid tool UUIDs scoped to the server are reordered. The endpoint always returns 200 if the server resolves; per-tool errors are not surfaced.
Path Parameters
The UUID of the server (e.g.
836995ae-1cff-41ec-823e-a4f07ccca3a0). Numeric IDs are also accepted for backwards compatibility.Body Parameters
Array of tool UUIDs in the desired order — index
0 becomes the first tool. UUIDs not belonging to the server are skipped.
