guidelines.delete
writesconfirm
Delete a guideline by id (owner only).
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | literal | yes | One of: true |
guidelines.get
read-only
Get one guideline (incl. markdown body) by id for the current tenant. Read-only.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Output fields
The whole object may be null.
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
title | string | yes | |
type | enum | yes | One of: process, policy, faq |
category | string · nullable | yes | |
tags | array of string | yes | |
bodyMarkdown | string | yes | |
updatedAt | any | yes |
guidelines.list
read-only
List internal staff-handbook guidelines for the current tenant (id, title, type, category, tags, updatedAt). Read-only.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
category | string | no |
Output fields
Returns array of object. Fields of each element:
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
title | string | yes | |
type | enum | yes | One of: process, policy, faq |
category | string · nullable | yes | |
tags | array of string | yes | |
updatedAt | any | yes |
guidelines.upsert
writes
Create or update a guideline (owner only). Provide id to update. Generates an embedding on save.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | no | |
title | string | yes | |
type | enum | yes | One of: process, policy, faq |
category | string | no | |
tags | array of string | no | |
bodyMarkdown | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |