// madarX OS — Legacy tools registry route.
//
// /tools redirects to /marketplace?kind=tool. The marketplace is the single
// operator surface for discovering and installing every kind of agent
// capability (tools, skills, bundles). Approval mode, the toggle UI, and the
// guarantee of never exposing secret values now live on the marketplace —
// this redirect preserves existing bookmarks and keeps the sidebar entry
// functional while users migrate to the new route.

import { redirect } from 'next/navigation';

export const dynamic = 'force-dynamic';
export const runtime = 'nodejs';

export default function ToolsRedirect() {
  redirect('/marketplace?kind=tool');
}
