register_external_artifact
Register an external artifact (e.g., document, code) with Lightbulb so agents can discover and use it. Specify type, URI or content, and optional metadata.
Instructions
Register an external artifact created outside Lightbulb so agents can discover it.
Args: type: Artifact class, for example codebase, document, spreadsheet, slide_deck, or url. title: Human-readable artifact title. uri: Optional external URL or repository URI. content: Optional inline artifact content when no URI exists. source_agent: Optional originating agent name. project_id: Optional Lightbulb project id to attach the artifact to. metadata: Optional JSON object with additional fields. attach_workspace: For codebase artifacts, also request a Code Workspace attachment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | ||
| type | Yes | ||
| title | Yes | ||
| content | No | ||
| metadata | No | ||
| project_id | No | ||
| source_agent | No | ||
| attach_workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |