{"id":"toml10-parse","version":"1.0.0","description":"Parse TOML 1.0 into typed nodes with exact int64, floats, and datetimes.","supported_operations":["decode toml 1.0 into typed nodes","toml 1.0 tables arrays and dotted keys","exact int64 values from a toml document","closed inline tables in toml 1.0","canonical json-safe toml document tree","array of tables header to typed nodes","פענוח מסמך טומל אחד אפס לצמתים"],"unsupported_operations":["convert toml into ordinary json numbers and dates","accept toml 1.1 newlines or trailing commas inside inline tables","preserve comments in the typed tree"],"semantics":["TOML v1.0.0 only. Inline-table newlines and trailing commas are rejected. The result is a typed tree, not ordinary JSON.","Integers are canonical decimal strings covering the full int64 range. Floats use the documented binary64 spelling, including -0.0, inf, and nan. Datetimes stay text with style offset, local_datetime, local_date, or local_time.","Tables keep entry order. Inline tables are marked inline true and are closed. Arrays of tables are marked array_of_tables true. Keys such as $toml, __proto__, and constructor are entry keys, never type tags.","Duplicate keys, closed inline tables, header and dotted collisions, and out-of-range integers throw invalid_input with details.reason. Depth, node, and byte limits throw limit_exceeded before or during the walk, never after a partial success is returned.","Output key order inside each table is source order. Unicode is not normalized. The same text always yields the same tree."],"limits":{"max_input_bytes":4096,"max_output_bytes":16384,"max_depth":8,"max_nodes":48},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["document"],"properties":{"document":{"type":"object","additionalProperties":false,"required":["kind","inline","entries"],"properties":{"kind":{"const":"table"},"inline":{"const":false},"entries":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["key","value"],"properties":{"key":{"type":"string"},"value":{}}}}}}}},"examples":[{"input":{"text":"bool1 = true\n"},"output":{"document":{"kind":"table","inline":false,"entries":[{"key":"bool1","value":{"kind":"bool","value":true}}]}}},{"input":{"text":"hex1 = 0xDEADBEEF\n"},"output":{"document":{"kind":"table","inline":false,"entries":[{"key":"hex1","value":{"kind":"integer","canonical":"3735928559"}}]}}},{"input":{"text":"x = { \"$toml\" = \"integer\", value = \"oops\" }\n"},"output":{"document":{"kind":"table","inline":false,"entries":[{"key":"x","value":{"kind":"table","inline":true,"entries":[{"key":"$toml","value":{"kind":"string","text":"integer"}},{"key":"value","value":{"kind":"string","text":"oops"}}]}}]}}}],"execute_url":"/v1/tools/toml10-parse/versions/1.0.0/execute"}