appgrammar_splice
Axiom: IV — Architecture | Category: Composition
This tool uses a multi-turn protocol. The initial call returns a prompt and token. Run the prompt on your LLM, then submit the structured output via appgrammar_tool_submit (or the tool-specific submit variant) to advance the operation.
Splice two appgrammars together at compatible module boundaries. Requires two source appgrammars with overlapping interfaces.
Instead of merging two whole applications (like appgrammar_breed), splicing extracts a specific "organ" — e.g., a Stripe subscription sequence — from one appgrammar and grafts it onto a specific point in another. The platform weaves the grafted instructions into the host's sequence, automatically adjusting database creation steps, routing, and UI steps so the feature integrates natively.
This is a multi-turn operation. The server returns a prompt and token; run the prompt on your LLM and submit the result via appgrammar_tool_submit.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
source_appgrammar_id_a | string (UUID) | Yes | ID of the host appgrammar. |
source_appgrammar_id_b | string (UUID) | Yes | ID of the donor appgrammar to splice from. Must be different from the host. |
params | object | No | Optional tool-specific parameters. |
Example
{
"method": "tools/call",
"params": {
"name": "appgrammar_splice",
"arguments": {
"source_appgrammar_id_a": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"source_appgrammar_id_b": "f9e8d7c6-b5a4-3210-fedc-ba9876543210"
}
}
}