Server definition
- Hash
- sha256:922111078c2137cc525b806124c92ba1f2935a4cc5b0fad145602cdfa1ddc38a
- What it is
- What a remote MCP server returned when asked what it offers: 12 tools
The blob, as servednamed by its sha256
{
"instructions": "Perfboard Designer (https://perfboarddesigner.com) is a browser editor for perfboard and stripboard layouts. You design a board here as a project file and give the user a link that opens it in the editor. The goal is a board that's right, looks neat and is easy to solder.\n\n1. list_parts with no query: every part. Then get_part with ids: every part you use, in one call.\n2. new_project (cols, rows, type) returns a projectId: pass it to every other tool.\n3. edit_project: place parts (add_part) and route wires (add_wire with from/to, or a path with corners; ends can be pins by name, \"U1.7\", \"D1.K\"), all ops or none. Its reply gives where pins landed, the board's problems and, once there are no errors, its nets. Give expectNets (your netlist, e.g. [[\"U1.8\", \"R1.1\"], ...]) once and every missing or extra connection is an error from then on. render_board draws the board as text to show free space, or with format \"png\" as a picture to look at.\n4. Fix every error; warnings are likely mistakes.\n5. Make it neat and solderable: look at render_board format \"png\". Parts in tidy rows near what they connect to, connectors at edges; straight wires, few corners and crossings, none over a part. Rework it, then check again.\n6. make_share_link: give the user the link (and with store: true, where offered, a short one too). show_board shows them the board in the chat, where the client shows MCP Apps.\n\nRules: holes are [column, row] from the top-left hole, from 0, 2.54 mm apart. A hole holds one part's pin or lead at most (two parts in one hole is an error) plus any number of wire ends, and everything in it is joined: to connect two parts, run a wire between their pins. A wire joins only the holes at its ends and corners, never a hole it passes over; wires may cross (no short, but avoid it). On a stripboard each strip joins its holes up to a cut (add_cuts).\n\nThe full guide, with more on all this and on changing a board the user shares (read_share_link): the resource perfboard://docs/guide.",
"tools": [
{
"description": "Changes a project kept here, by a list of ops applied in order: add_part, update_part (move, turn, change value or ref), remove_parts, add_wire (from/to, or a `path` of holes made into one wire per leg), update_wire, remove_wires, set_board, add_cuts / remove_cuts (stripboard), set_pad. If any op can't be done, none are. Returns what changed, where the pins of added or moved parts landed, and the board checked as validate_project does (with any expectNets remembered for it); when it has no errors, also its nets. get_project returns the whole file. The goal is a board that's right, looks neat and is easy to solder, not just the shortest wires: parts in tidy rows near what they connect to, connectors at the edges, straight wires with few corners and no crossing you can avoid, none over a part's body. Before giving the user the link, look at it (render_board with format \"png\"), rework what's messy and check it again.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"expectNets": {
"description": "The nets the board should make: each a list of pins written REF.pin, e.g. [[\"U1.8\", \"U1.4\", \"R1.1\", \"J1.1\"], [\"U1.2\", \"U1.6\", \"C1.+\"]]. A pin can also be named by its label (\"U1.VCC\", \"D1.K\") or as get_nets writes it (\"U1.8 VCC\"). List every net of two or more pins: a pin in none of them should connect to nothing. With a projectId it's remembered for that project, so later checks use it too; [] forgets it.",
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"ops": {
"items": {
"oneOf": [
{
"properties": {
"at": {
"description": "Other parts: pin 1's hole (a chip's or pin block's top-left pin).",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"color": {
"description": "Two-lead parts, e.g. an LED's \"#ef4444\".",
"type": "string"
},
"cols": {
"description": "Pin blocks (header-pins): pins per row.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"from": {
"description": "Two-lead parts: the hole of lead 1. On a polarized part get_part's leadLabels say which that is: K for a diode or LED, - for an electrolytic.",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"op": {
"const": "add_part",
"type": "string"
},
"part": {
"description": "The part's id from list_parts (\"resistor\", \"ne555\", \"header-pins\"), or the name of one of the project's customIcs.",
"type": "string"
},
"ref": {
"description": "Its reference designator. The next free one (R1, R2...) when left out.",
"type": "string"
},
"rotation": {
"anyOf": [
{
"const": 0,
"type": "number"
},
{
"const": 90,
"type": "number"
},
{
"const": 180,
"type": "number"
},
{
"const": 270,
"type": "number"
}
],
"description": "Other parts: 0 (default), 90, 180 or 270, clockwise."
},
"rows": {
"description": "Pin blocks (header-pins): rows of pins.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"to": {
"description": "Two-lead parts: the hole of lead 2.",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"value": {
"description": "E.g. \"10k\", \"100n\".",
"type": "string"
}
},
"required": [
"op",
"part"
],
"type": "object"
},
{
"properties": {
"at": {
"description": "A hole, [column, row].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"by": {
"description": "Move it by [columns, rows].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"color": {
"description": "\"\" removes it.",
"type": "string"
},
"cols": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"from": {
"description": "A hole, [column, row].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"newRef": {
"type": "string"
},
"op": {
"const": "update_part",
"type": "string"
},
"ref": {
"type": "string"
},
"rotation": {
"anyOf": [
{
"const": 0,
"type": "number"
},
{
"const": 90,
"type": "number"
},
{
"const": 180,
"type": "number"
},
{
"const": 270,
"type": "number"
}
],
"description": "Turns about `at`; a chip's widthPin and heightPin are swapped to match."
},
"rows": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"to": {
"description": "A hole, [column, row].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"value": {
"description": "\"\" removes it.",
"type": "string"
}
},
"required": [
"op",
"ref"
],
"type": "object"
},
{
"properties": {
"op": {
"const": "remove_parts",
"type": "string"
},
"refs": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"op",
"refs"
],
"type": "object"
},
{
"properties": {
"color": {
"type": "string"
},
"from": {
"anyOf": [
{
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "string"
}
],
"description": "A hole [column, row], or a pin by name: \"U1.7\", \"U1.DISCH\", \"D1.K\", \"R2.1\" (the hole that pin is in)."
},
"op": {
"const": "add_wire",
"type": "string"
},
"path": {
"description": "Instead of from/to: holes (or pins) to run through in order, made into one wire per leg. Each corner is a wire end, so it joins whatever is in that hole.",
"items": {
"anyOf": [
{
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "string"
}
],
"description": "A hole [column, row], or a pin by name: \"U1.7\", \"U1.DISCH\", \"D1.K\", \"R2.1\" (the hole that pin is in)."
},
"minItems": 2,
"type": "array"
},
"to": {
"anyOf": [
{
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "string"
}
],
"description": "A hole [column, row], or a pin by name: \"U1.7\", \"U1.DISCH\", \"D1.K\", \"R2.1\" (the hole that pin is in)."
},
"width": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"op"
],
"type": "object"
},
{
"properties": {
"color": {
"type": "string"
},
"from": {
"anyOf": [
{
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "string"
}
],
"description": "A hole [column, row], or a pin by name: \"U1.7\", \"U1.DISCH\", \"D1.K\", \"R2.1\" (the hole that pin is in)."
},
"op": {
"const": "update_wire",
"type": "string"
},
"to": {
"anyOf": [
{
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
{
"type": "string"
}
],
"description": "A hole [column, row], or a pin by name: \"U1.7\", \"U1.DISCH\", \"D1.K\", \"R2.1\" (the hole that pin is in)."
},
"width": {
"exclusiveMinimum": 0,
"type": "number"
},
"wire": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"items": {
"description": "A hole, [column, row].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
],
"description": "A wire by its index in wires, or by its two end holes [[c, r], [c, r]] (either way round)."
}
},
"required": [
"op",
"wire"
],
"type": "object"
},
{
"properties": {
"op": {
"const": "remove_wires",
"type": "string"
},
"wires": {
"description": "Indexes are as they stand before this op, so list several in one op.",
"items": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"items": {
"description": "A hole, [column, row].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
],
"description": "A wire by its index in wires, or by its two end holes [[c, r], [c, r]] (either way round)."
},
"minItems": 1,
"type": "array"
}
},
"required": [
"op",
"wires"
],
"type": "object"
},
{
"properties": {
"cols": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"op": {
"const": "set_board",
"type": "string"
},
"rows": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"strips": {
"description": "A stripboard's strips.",
"enum": [
"horizontal",
"vertical"
],
"type": "string"
},
"type": {
"enum": [
"perfboard",
"stripboard"
],
"type": "string"
}
},
"required": [
"op"
],
"type": "object"
},
{
"properties": {
"at": {
"description": "Stripboard holes to cut the strip at.",
"items": {
"description": "A hole, [column, row].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"minItems": 1,
"type": "array"
},
"op": {
"const": "add_cuts",
"type": "string"
}
},
"required": [
"op",
"at"
],
"type": "object"
},
{
"properties": {
"at": {
"items": {
"description": "A hole, [column, row].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"minItems": 1,
"type": "array"
},
"op": {
"const": "remove_cuts",
"type": "string"
}
},
"required": [
"op",
"at"
],
"type": "object"
},
{
"properties": {
"at": {
"description": "A hole, [column, row].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"color": {
"type": "string"
},
"note": {
"description": "Both color and note left out (or \"\") unmarks the hole.",
"type": "string"
},
"op": {
"const": "set_pad",
"type": "string"
}
},
"required": [
"op",
"at"
],
"type": "object"
}
]
},
"minItems": 1,
"type": "array"
},
"project": {
"anyOf": [
{
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "A whole project file to start from instead of a projectId: it's kept here and the reply gives its new projectId."
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
}
},
"required": [
"ops"
],
"type": "object"
},
"name": "edit_project",
"outputSchema": null
},
{
"description": "Which pins the board connects: every net with its name (from its pins, e.g. GND), its pins (\"U1.8 VCC\" for a chip's pin, \"D1.K\" or \"C1.+\" for a polarized lead, \"R1.1\" otherwise) and the wires on it (indexes into wires). Also pins connected to nothing, wires that connect no pins, junctions (holes where three or more things are joined) and crossings (where a wire goes over another wire or over a hole without joining it). Wires are insulated jumpers: a wire joins only the holes at its two ends, so crossings are information, not connections or shorts. On a stripboard the strips connect too.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"project": {
"anyOf": [
{
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "The whole project file: a version 3 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId."
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
}
},
"type": "object"
},
"name": "get_nets",
"outputSchema": null
},
{
"description": "Everything needed to place parts: for each, which project file list it goes in, its pins (offsets from pin 1 at rotation 0) and pin labels, polarity, value unit, holes its body covers, and an example entry. Ask for every part you use in one call with `ids`.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"description": "One part id, instead of `ids`.",
"type": "string"
},
"ids": {
"description": "Part ids from list_parts, e.g. [\"resistor\", \"ne555\", \"header-pins\"].",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"name": "get_part",
"outputSchema": null
},
{
"description": "Where every placed part's pins land, as [column, row] holes, with pin numbers and labels (e.g. U1 pin 8 VCC), after rotation, plus holes a part's body covers. Use it to route wires to the right holes. The project file doesn't store these: they follow from each part's anchor, rotation and footprint.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"project": {
"anyOf": [
{
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "The whole project file: a version 3 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId."
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
},
"refs": {
"description": "Only these parts, e.g. [\"U1\", \"R2\"]. All parts when omitted.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"name": "get_pin_positions",
"outputSchema": null
},
{
"description": "The whole project file of a project kept here, as the editor would save it (version 3), one entry per line.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"projectId": {
"type": "string"
}
},
"required": [
"projectId"
],
"type": "object"
},
"name": "get_project",
"outputSchema": null
},
{
"description": "Lists the parts a project can place. Without a query: every part, grouped by category, as its id with its name and pin count; call it this way once to see what there is. With a query: the parts whose id, name, category or keywords contain all its words, or the closest ones when none do. Each part's `id` is its definitionId in the project file; use get_part for its pins and how to place it.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"kind": {
"description": "standard-component: two-lead parts placed between two holes. advanced-component: fixed-footprint parts. ic: dual-row chips and modules.",
"enum": [
"standard-component",
"advanced-component",
"ic"
],
"type": "string"
},
"query": {
"description": "Words to match, e.g. \"capacitor\", \"555\", \"header\", \"relay\". Leave it out to list every part.",
"type": "string"
}
},
"type": "object"
},
"name": "list_parts",
"outputSchema": null
},
{
"description": "Turns a project into a link that opens it in Perfboard Designer: the project travels inside the link, so it works without any server. Give the link to the user. Also returns `image`, the address of an SVG picture of the board (as the editor draws it), for showing it where images from links display, e.g. in Markdown (not in Claude or ChatGPT, which don't load them: show_board shows the board there). With store, the project is also stored on the Perfboard Designer server under a short id, and `stored` gives a short link to it, its file and its pictures (SVG and PNG): give the user both links. The project is validated first (against expectNets too, given or remembered for its projectId); a project with errors gets the list of problems instead of a link, unless allowErrors is set.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"allowErrors": {
"description": "Make the link even if validation finds errors.",
"type": "boolean"
},
"editorUrl": {
"description": "The editor's address. Defaults to https://perfboarddesigner.com/app/ (set PERFBOARD_EDITOR_URL in the server's environment to change it); use e.g. http://localhost:3000/app/ for a local copy.",
"type": "string"
},
"expectNets": {
"description": "The nets the board should make: each a list of pins written REF.pin, e.g. [[\"U1.8\", \"U1.4\", \"R1.1\", \"J1.1\"], [\"U1.2\", \"U1.6\", \"C1.+\"]]. A pin can also be named by its label (\"U1.VCC\", \"D1.K\") or as get_nets writes it (\"U1.8 VCC\"). List every net of two or more pins: a pin in none of them should connect to nothing. With a projectId it's remembered for that project, so later checks use it too; [] forgets it.",
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"name": {
"description": "The project's name in the editor, e.g. \"555 LED blinker\". Defaults to the name it was given in new_project or came with from read_share_link.",
"type": "string"
},
"project": {
"anyOf": [
{
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "The whole project file: a version 3 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId."
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
},
"store": {
"description": "Also store the project at https://projects.perfboarddesigner.com, for a short link. A stored project never changes (store again for a new id) and is deleted after a year unopened.",
"type": "boolean"
},
"storeAs": {
"description": "The id you'd like it stored under, e.g. \"led-blinker\" (made lowercase letters, digits and dashes); if another board has it, a few characters of this board's hash are added. Implies store. Defaults to the project's name.",
"type": "string"
}
},
"type": "object"
},
"name": "make_share_link",
"outputSchema": null
},
{
"description": "Starts a project kept here under a projectId: a blank board, or one of the example projects (perfboard://examples/...) to copy from. Returns the projectId and the project file. Then add parts and wires with edit_project, and pass the projectId to every other tool instead of the whole file.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cols": {
"description": "Holes across. 30 when left out.",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"example": {
"description": "Start from an example instead of a blank board: \"555-led-blinker\" (555 LED blinker (perfboard)), \"555-led-blinker-stripboard\" (555 LED blinker (stripboard)).",
"enum": [
"555-led-blinker",
"555-led-blinker-stripboard"
],
"type": "string"
},
"name": {
"description": "The project's name, used by make_share_link.",
"type": "string"
},
"rows": {
"description": "Holes down. 20 when left out.",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"strips": {
"description": "A stripboard's strips: along rows (horizontal, default) or columns.",
"enum": [
"horizontal",
"vertical"
],
"type": "string"
},
"type": {
"description": "perfboard (default): a separate pad per hole. stripboard: copper strips joining every hole along each row (or column).",
"enum": [
"perfboard",
"stripboard"
],
"type": "string"
}
},
"type": "object"
},
"name": "new_project",
"outputSchema": null
},
{
"description": "Reads the project out of a Perfboard Designer share link (any of its forms: z=, json= or src=, which is downloaded; a stored project's short link too), so you can look at or change a board the user shared. Returns the project as a version 3 project file, kept here under the projectId it returns: change it with edit_project.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"link": {
"description": "The whole link, or just the part after #.",
"type": "string"
}
},
"required": [
"link"
],
"type": "object"
},
"name": "read_share_link",
"outputSchema": null
},
{
"description": "Draws the board as text, one cell per hole with column and row numbers: each part's pins by a key letter and pin number (a1, a2...), holes under a part's body, wire ends, the holes a wire runs over without joining them, strip cuts and marked holes. Below it, which part each key is and every wire with its ends and net. Use it to see where there's free space and how wires run before placing parts or routing more. With format \"png\", a picture of the board as the editor draws it instead, to see how it looks: parts' bodies and where they reach, labels, wire colours. To show the user the board, use show_board.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"area": {
"description": "Only this part of the board: two opposite corner holes. The whole board when left out.",
"properties": {
"from": {
"description": "A hole, [column, row].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"to": {
"description": "A hole, [column, row].",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
},
"required": [
"from",
"to"
],
"type": "object"
},
"format": {
"description": "\"text\" (default): the board as text. \"png\": a picture of it, 50 px per hole, scaled down to fit 1000 px.",
"enum": [
"text",
"png"
],
"type": "string"
},
"project": {
"anyOf": [
{
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "The whole project file: a version 3 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId."
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
}
},
"type": "object"
},
"name": "render_board",
"outputSchema": null
},
{
"description": "Shows the user a picture of the board right in the conversation, as the editor draws it, with a button that opens it in Perfboard Designer. Only in clients that show MCP Apps (e.g. Claude, ChatGPT); elsewhere the user sees nothing, so give them make_share_link's link too. The picture goes to the user, not to you: to look at the board yourself, use render_board.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"description": "The project's name, shown under the picture and in the editor. Defaults to the name it was given in new_project or came with from read_share_link.",
"type": "string"
},
"project": {
"anyOf": [
{
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "The whole project file: a version 3 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId."
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
}
},
"type": "object"
},
"name": "show_board",
"outputSchema": null
},
{
"description": "Checks a project file and lists every problem with where it is: entries the editor would leave out, unknown parts, pins off the board, two parts' pins or leads in one hole, overlapping parts, wires that connect nothing (a loose end, or no pins on their net), duplicate wires, a two-lead part with both leads on one net (shorted out), a wire passing over a pin or lead without ending there (so not joined to it), IC pins and two-lead parts' leads connected to nothing, supply rails shorted together, and on a stripboard, pins shorted by a strip or sitting in a cut hole. With expectNets, every connection missing from the board or extra on it is an error. Wires crossing each other are fine (insulated jumpers) and only listed in notes. Fix all errors before making a link. A project sent whole is kept here: the reply's projectId stands for it in every other tool.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"expectNets": {
"description": "The nets the board should make: each a list of pins written REF.pin, e.g. [[\"U1.8\", \"U1.4\", \"R1.1\", \"J1.1\"], [\"U1.2\", \"U1.6\", \"C1.+\"]]. A pin can also be named by its label (\"U1.VCC\", \"D1.K\") or as get_nets writes it (\"U1.8 VCC\"). List every net of two or more pins: a pin in none of them should connect to nothing. With a projectId it's remembered for that project, so later checks use it too; [] forgets it.",
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"project": {
"anyOf": [
{
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "The whole project file: a version 3 project object, or its JSON text (see the perfboard://docs/project-file resource). Give this or projectId."
},
"projectId": {
"description": "The id of a project kept here (from new_project, validate_project, edit_project or read_share_link), instead of sending the whole project.",
"type": "string"
}
},
"type": "object"
},
"name": "validate_project",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:922111078c2137cc525b806124c92ba1f2935a4cc5b0fad145602cdfa1ddc38a | sha256sum