save_pipeline
Store a pipeline configuration with a unique name for later reuse in searches. Overwrites existing pipelines with the same name.
Instructions
Save a pipeline configuration for later reuse.
The config format is identical to unified_search's pipeline parameter (YAML or JSON). Saved pipelines can be loaded later by name: unified_search(pipeline="saved:weekly_remimazolam")
Args: name: Unique identifier (alphanumeric + hyphens/underscores, max 64 chars). Overwrites if name already exists (upsert semantics). config: Pipeline YAML/JSON string. Same format as unified_search pipeline param. tags: Comma-separated tags for filtering (e.g., "anesthesia,sedation"). description: Human-readable description of the pipeline's purpose. scope: Storage scope - "workspace" (project-level, git-trackable), "global" (user-level, cross-project), or "auto" (workspace if available, otherwise global). Default: "auto".
Returns: Confirmation with pipeline metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| config | Yes | ||
| tags | No | ||
| description | No | ||
| scope | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |