data
Weave MCP, CLI, and Lua Integration for AI Agents
Weave integration docs for AI agents: MCP gateway setup, Weave CLI commands, Lua API reference, credentials, and function schemas.Weave for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
weave.weave_list_patients | Read read | 3 | Search and list patients from Weave. Returns patient records with names, contact info, and metadata. Use the query parameter to search by name, phone, or email. |
weave.weave_get_patient | Read read | 1 | Retrieve a single patient by ID. Returns full patient details including demographics and contact information. |
weave.weave_list_appointments | Read read | 3 | List appointments from Weave with optional date range filtering. Returns appointment records with patient info, scheduled times, and status. |
weave.weave_get_appointment | Read read | 1 | Retrieve a single appointment by ID. Returns full details including patient info, scheduled time, duration, and status. |
weave.weave_list_messages | Read read | 3 | List patient messages from Weave with optional type filtering. Returns message records with sender, recipient, content previews, and status. |
weave.weave_get_message | Read read | 1 | Retrieve a single message by ID. Returns full message content, sender, recipient, timestamps, and delivery status. |
weave.weave_get_current_user | Read read | 0 | Get the currently authenticated Weave user profile. Returns user details including name, email, role, and organization info. |