edytlab
API Reference

Skills, Memory and Extensions

Skills, memory, MCP servers, plugins and capabilities.

On this page14 commands

Called through tauri-bridge.ts. Each returns Promise<T> and throws a string on Rust Err(_).

Skills

FunctionReturnsDescription
listSkills()SkillSummary[]List every skill in the library, re-reading the skills directory first so files added or removed since startup are picked up.
readSkill(name)SkillContentRead one skill's front matter and markdown body.
upsertSkill(name, content)voidCreate or overwrite a skill. The name is validated before it becomes a filename.
deleteSkill(name)voidDelete a skill from the library.
installBundledSkills()numberKeep the skills that ship with the app current in the user's library: copy in missing ones, update those the user has not edited (the new text of an edited one goes beside it as <name>.bundled.md), and never bring back one the user deleted. Returns how many were written.

Memory

FunctionReturnsDescription
readMemory("global" | "project")stringRead the memory markdown for the given scope. Returns empty string if none.
writeMemory("global" | "project", contents)voidOverwrite the memory file atomically.

MCP Servers

FunctionReturnsDescription
listMcpServers()McpServerListEntry[]Every registered MCP server with its transport, enabled flag and current connection state.
readMcpServer(id)McpServerEntryFull configuration for one server — command, args, env, headers.
upsertMcpServer(id, entry)voidRegister or update a server. A server installed by a plugin always arrives disabled.
deleteMcpServer(id)voidStop the server and remove it from the configuration.
restartMcpServer(id)voidStop and re-launch one server, picking up an edited configuration.

Plugins and Capabilities

FunctionReturnsDescription
installPlugin(source)PluginInstallResultInstall skills and agent profiles from github:org/repo or a local path. Existing files are never overwritten, and any MCP servers the plugin declares are registered disabled.
listCapabilities()CapabilitiesA snapshot of everything the agent can currently reach: tools, skills, MCP servers and profiles, with their enabled state.