glyphdna_fork
Fork a published script on glyphdna.net, creating a new invisible script with recorded parent and root lineage. Copies source bytes and returns the new script ID and SHA-256 for provenance.
Instructions
Fork a published script on glyphdna.net with recorded lineage. BEHAVIOR: creates a NEW script owned by you (visible=False until you enable it), copies the source content bytes, and records parent_script_id (source) + root_script_id (chain origin). SIDE EFFECTS: one registry row + one content file in your shard; mints no receipts automatically. OUTPUT: 201 with {script_id, sha256, visible, parent_script_id, root_script_id} or error {401 unauthorized, 404 source not found, 409 you already own this content}. Follow-up: GET /v1/scripts/{new_id}/lineage (public) and optionally mint a script.fork.v1 receipt on .pro for public provenance. Args: member_file, script_id (integer).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "glyphdna_fork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||