validate_pin_connection
Dry-run a pin connection to check validity without modifying the graph. Use it to test a plan before committing or to learn why a connection was rejected.
Instructions
Dry-run the K2 schema's verdict on a pin pair WITHOUT touching the graph: returns valid plus the schema's own message (which names the incompatible types) and its raw response code. connect_pins runs the same check and then connects, so use this one to test a plan before committing a build_blueprint_graph batch whose rollback can be refused, or to find out WHY a connection was rejected without leaving anything behind.
Returns: { valid, message, response_code } -- valid is false only for an outright DISALLOW; a response that would connect WITH a conversion node or by breaking an existing link still reports valid:true, and "message" is where that shows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | No | Target graph name; defaults to the Blueprint's event graph when omitted | |
| source_pin | Yes | Output pin name on the source node (falls back to any pin with that name). | |
| target_pin | Yes | Input pin name on the target node (falls back to any pin with that name). | |
| blueprint_name | No | Blueprint name or path. | |
| blueprint_path | No | Alias of `blueprint_name` (same value, same meaning). Accepted because sibling tools spell this parameter differently; prefer `blueprint_name`. | |
| source_node_id | Yes | NodeGuid of the source node. | |
| target_node_id | Yes | NodeGuid of the target node; must be in the same graph as the source. |