LoyJoy MCP by usefulapi
v1.1.0Read agents and knowledge, search it, create articles, and ask agents in LoyJoy.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
loyjoy_list_agents List agents
List all agents (LoyJoy processes) of the tenant with id, name, folder and state. Roles: owner, editor, processes_editor or processes_viewer.
loyjoy_get_agent Get agent
Get one agent (process) by id: its id and name, read from the latest saved (staging) version. Roles: owner, editor, processes_editor or processes_viewer.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Id as returned by a list tool. |
loyjoy_start_agent Start agent
Start the published version of an agent with optional variables, and return the resulting variables. The agent halts when it expects user input, for example at a Proceed module. Roles: owner or editor.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Id as returned by a list tool. |
variables | object | Variables by key, for example {"email": {"value": "a@b.c"}}. |
loyjoy_ask_agent Ask agent
Send one user message to the published (production) agent in a new single-use conversation, and return its answer. Roles: owner or editor.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Id as returned by a list tool. |
text * | string | The user message to send. |
locale | string | Locale, for example de or en. The API default is de. |
loyjoy_list_home_views List home views
List all home views of the tenant with id and name. Roles: owner, editor, processes_editor or processes_viewer.
loyjoy_get_home_view Get home view
Get one home view by id, with its id and name. Roles: owner, editor, processes_editor or processes_viewer.
| Parameter | Type | Description |
|---|---|---|
view_id * | string | Id as returned by a list tool. |
loyjoy_list_catalogs List knowledge catalogs
List all knowledge catalogs of the tenant with id, name and updated_at. Roles: owner, editor, knowledge_editor, knowledge_exporter or knowledge_viewer.
loyjoy_get_catalog Get knowledge catalog
Get one knowledge catalog by id: its metadata only. Its articles come from loyjoy_list_articles. Roles: owner, editor, knowledge_editor, knowledge_exporter or knowledge_viewer.
| Parameter | Type | Description |
|---|---|---|
catalog_id * | string | Knowledge catalog id, from loyjoy_list_catalogs. |
loyjoy_list_articles List articles
List all articles of one knowledge catalog. Roles: owner, editor, knowledge_editor, knowledge_exporter or knowledge_viewer.
| Parameter | Type | Description |
|---|---|---|
catalog_id * | string | Knowledge catalog id, from loyjoy_list_catalogs. |
loyjoy_get_article Get article
Get one article of a knowledge catalog by id. Roles: owner, editor, knowledge_editor, knowledge_exporter or knowledge_viewer.
| Parameter | Type | Description |
|---|---|---|
article_id * | string | Id as returned by a list tool. |
catalog_id * | string | Knowledge catalog id, from loyjoy_list_catalogs. |
loyjoy_list_knowledge_sources List knowledge sources
List all knowledge sources of the tenant, URL and upload kinds, with their folder, type and last indexing time. Roles: owner, editor, knowledge_editor, knowledge_exporter or knowledge_viewer.
loyjoy_search_knowledge Search knowledge
Search the knowledge chunks of the tenant for a query. Returns up to max_chunks chunks (1 to 100, default 100). The root folder is always searched; subfolders only when listed in folders. Roles: owner, editor, knowledge_editor, knowledge_exporter or knowledge_viewer.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search text. |
folders | array | Subfolders to search, by name. |
max_chunks | integer | Maximum chunks to return (1 to 100). |
loyjoy_create_catalog Create knowledge catalog
Create a new, empty knowledge catalog with the given name. Each call creates another catalog. Roles: owner, editor or knowledge_editor.
| Parameter | Type | Description |
|---|---|---|
name * | string | The catalog name. |
loyjoy_create_article Create article
Create an article in a knowledge catalog, in one locale. Writes are limited to one per second per catalog: a faster write returns HTTP 500, so wait about one second between writes to the same catalog. Roles: owner, editor or knowledge_editor.
| Parameter | Type | Description |
|---|---|---|
catalog_id * | string | Knowledge catalog id, from loyjoy_list_catalogs. |
text * | string | The article body, in the given locale. |
title * | string | The article title, in the given locale. |
locale | string | Locale, for example de or en. The API default is de. |
search_disable | boolean | Set true to keep the article out of search results. |
source_url | string | Optional source URL of the article. |