@stll/folio-agents
Version:
Framework-neutral LLM tool layer over folio's ai-edits engine: function-calling tools so an agent can read and mutate .docx documents through @stll/folio-core.
23 lines (22 loc) • 699 B
JavaScript
//#region src/types.ts
/** Every tool name this package exposes, as a stable string union (no enums). */
const FOLIO_AGENT_TOOL_NAMES = {
readDocument: "read_document",
getDocumentOutline: "get_document_outline",
readSection: "read_section",
listStories: "list_stories",
readStory: "read_story",
findText: "find_text",
readComments: "read_comments",
readChanges: "read_changes",
addComment: "add_comment",
suggestChanges: "suggest_changes",
replyComment: "reply_comment",
resolveComment: "resolve_comment",
readPage: "read_page",
readSelection: "read_selection",
scrollToBlock: "scroll_to_block",
showInDocument: "show_in_document"
};
//#endregion
export { FOLIO_AGENT_TOOL_NAMES };