---
title: "Update Default Agent"
method: PATCH
path: "/me/default-agent"
tags: ["User API"]
---

# Update Default Agent

`PATCH /me/default-agent`

## Request

- Base URL: `https://api.toolhouse.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.toolhouse.ai/me/default-agent`
- Auth: HTTP bearer

## Request body

- WorkspaceAgentSettings
  - `tools` string[], nullable
  - `mcp_servers` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-29** `e0bd12e0f385`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/toolhouse/apis/toolhouse-api/changes/me/default-agent/patch.md)

---

[API](https://skmtc.dev/toolhouse/apis/toolhouse-api.md) - [All operations](https://skmtc.dev/toolhouse/apis/toolhouse-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toolhouse/apis/toolhouse-api/revisions/f47a4da5cc79?raw)
