# update_procedures

Update one or more procedures. You can update the title, position, or associated task categories.

<!-- INPUT_BLOCK_START -->

## Input

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `workspaceId` | `string` | Yes | The ID of the workspace |
| `procedures` | `UpdateProcedureInput[]` | Yes | Array of procedures to update - [UpdateProcedureInput](#updateprocedureinput) |

### UpdateProcedureInput

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `procedureId` | `string` | Yes | The ID of the procedure to update |
| `title` | `string` | No | The new title for the procedure |
| `position` | `number` | No | The new position/order of the procedure |
| `taskCategoryIds` | `string[]` | No | Updated array of task category IDs |

<!-- INPUT_BLOCK_END -->

<!-- OUTPUT_BLOCK_START -->

## Output

| Field | Type | Description |
| --- | --- | --- |
| `content` | `ContentItem[]` | Array of content items returned by the tool - [ContentItem](#contentitem) |
| `isError` | `boolean` | Whether the tool execution resulted in an error |

### ContentItem

| Field | Type | Description |
| --- | --- | --- |
| `type` | `'text'` | Content type (currently only 'text' is supported) |
| `text` | `string` | The text content to display |

<!-- OUTPUT_BLOCK_END -->
