xbrl_create_instance
Generates a valid XBRL instance document from provided taxonomy schema, entity identifier, and fact data. Returns XML as string.
Instructions
Create a new XBRL instance document from scratch.
Generates a valid XBRL instance with the specified facts, contexts, and units. Returns the XML as a string.
Args: params: Schema ref, entity info, and list of facts.
Returns: str: JSON with the generated XBRL XML.
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": {
"params": "<params>"
},
"name": "xbrl_create_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |