blueprint_source_add
Register a PDF or image as a gun source, record its license and metadata, and open it as data only.
Instructions
Step 1: registers a file (PDF or picture) as one of a gun's sources, with its license. Opens it as data only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"gun": "<gun>",
"file": "<file>",
"source_id": "<source_id>",
"kind": "<kind>",
"title": "<title>",
"license_basis": "<license_basis>"
},
"name": "blueprint_source_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gun | Yes | ||
| url | No | ||
| file | Yes | ||
| kind | Yes | manual, patent, photo, drawing, book or web | |
| year | No | ||
| title | Yes | ||
| credit | No | ||
| gun_title | No | ||
| publisher | No | ||
| source_id | Yes | ||
| distribution | No | a distribution marking printed on the source, quoted | |
| license_basis | Yes | us-government-work, public-domain-age, public-domain-mark, us-patent, cc0, cc-by, cc-by-sa or permission |