{"openapi":"3.1.0","info":{"title":"Materials Project (BYOK) API","version":"0.1.0","description":"Materials Project (BYOK) lets an AI assistant read your own Materials Project data through the Materials Project API with a key you supply (Materials Project API key). Read-only: 11 tools (search_materials, get_materials_by_id, get_thermodynamics, get_elastic_properties, get_dielectric_properties, get_magnetic_properties, get_oxidation_states, get_electronic_structure,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-materialsproject.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-materialsproject/docs"},"termsOfService":"https://connectorbay.com/byok-materialsproject/terms"},"servers":[{"url":"https://byok-materialsproject.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-materialsproject/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/search_materials":{"post":{"operationId":"search_materials","summary":"Search computed materials by formula, chemical system, elements and property ranges (band gap, energy above hull, stabil","description":"Search computed materials by formula, chemical system, elements and property ranges (band gap, energy above hull, stability, crystal system). Returns summary properties per material. Use for \"Which stable materials in the Li-Fe-O system have a band gap above 1 eV\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"formula":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical formula, anonymous formula (for example 'ABC2') or a wildcard pattern such as 'Li*O'; comma-separate several.","title":"Formula"},"chemsys":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical system as dash-joined elements, for example 'Li-Fe-O'; comma-separate several systems.","title":"Chemsys"},"elements":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated element symbols the material must contain, for example 'Li,O'.","title":"Elements"},"exclude_elements":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated element symbols the material must not contain, for example 'Pb,Cd'.","title":"Exclude Elements"},"band_gap_min":{"anyOf":[{"maximum":50,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Minimum band gap in eV.","title":"Band Gap Min"},"band_gap_max":{"anyOf":[{"maximum":50,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Maximum band gap in eV.","title":"Band Gap Max"},"energy_above_hull_max":{"anyOf":[{"maximum":20,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Maximum energy above the convex hull in eV per atom (0 means on the hull).","title":"Energy Above Hull Max"},"is_stable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only materials on the convex hull, false for only the others.","title":"Is Stable"},"is_metal":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for metals only, false for non-metals only.","title":"Is Metal"},"crystal_system":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Crystal system such as Cubic, Hexagonal, Tetragonal, Orthorhombic, Monoclinic, Triclinic or Trigonal.","title":"Crystal System"},"nelements_max":{"anyOf":[{"maximum":20,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum number of distinct elements.","title":"Nelements Max"},"sort_fields":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated field names to sort by; prefix a name with '-' for descending, for example '-band_gap'.","title":"Sort Fields"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 200).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 1; the page size is `per_page`.","title":"Page"},"per_page":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Entries per page when `page` is used (1 to 200).","title":"Per Page"},"fields":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":"material_id,formula_pretty,chemsys,nsites,nelements,volume,density,energy_above_hull,formation_energy_per_atom,band_gap,is_stable,is_metal,is_gap_direct,theoretical,ordering,symmetry","description":"Comma-separated names of the result fields to return.","title":"Fields"}},"title":"search_materialsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_materials_by_id":{"post":{"operationId":"get_materials_by_id","summary":"Get the summary properties (stability, band gap, density, symmetry) of materials by their IDs. Use for \"What is the band","description":"Get the summary properties (stability, band gap, density, symmetry) of materials by their IDs. Use for \"What is the band gap and stability of mp-149\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"material_ids":{"description":"Comma-separated Materials Project material IDs, for example 'mp-149,mp-19017'.","maxLength":300,"title":"Material Ids","type":"string"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 200).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 1; the page size is `per_page`.","title":"Page"},"per_page":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Entries per page when `page` is used (1 to 200).","title":"Per Page"},"fields":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":"material_id,formula_pretty,chemsys,nsites,nelements,volume,density,energy_above_hull,formation_energy_per_atom,band_gap,is_stable,is_metal,is_gap_direct,theoretical,ordering,symmetry","description":"Comma-separated names of the result fields to return.","title":"Fields"}},"required":["material_ids"],"title":"get_materials_by_idArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_thermodynamics":{"post":{"operationId":"get_thermodynamics","summary":"Get thermodynamic data of materials: formation energy, energy above hull and stability for a calculation scheme. Filter ","description":"Get thermodynamic data of materials: formation energy, energy above hull and stability for a calculation scheme. Filter by IDs, formula or chemical system. Use for \"What is the formation energy and energy above hull of LiFePO4\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"material_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated material IDs, for example 'mp-19017'.","title":"Material Ids"},"formula":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical formula such as 'LiFePO4'; comma-separate several.","title":"Formula"},"chemsys":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical system as dash-joined elements, for example 'Li-Fe-O'; comma-separate several systems.","title":"Chemsys"},"is_stable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only stable entries.","title":"Is Stable"},"thermo_types":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated thermo types, for example 'GGA_GGA+U' or 'R2SCAN'.","title":"Thermo Types"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 200).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 1; the page size is `per_page`.","title":"Page"},"per_page":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Entries per page when `page` is used (1 to 200).","title":"Per Page"},"fields":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":"material_id,formula_pretty,thermo_type,energy_above_hull,formation_energy_per_atom,energy_per_atom,is_stable,equilibrium_reaction_energy_per_atom","description":"Comma-separated names of the result fields to return.","title":"Fields"}},"title":"get_thermodynamicsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_elastic_properties":{"post":{"operationId":"get_elastic_properties","summary":"Get computed elastic properties of materials: bulk and shear modulus (Voigt, Reuss, Voigt-Reuss-Hill averages), Young's ","description":"Get computed elastic properties of materials: bulk and shear modulus (Voigt, Reuss, Voigt-Reuss-Hill averages), Young's modulus, Poisson ratio and Debye temperature. Use for \"How stiff is mp-149 (bulk and shear modulus)\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"material_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated material IDs, for example 'mp-149'.","title":"Material Ids"},"chemsys":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical system as dash-joined elements, for example 'Li-Fe-O'; comma-separate several systems.","title":"Chemsys"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 200).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 1; the page size is `per_page`.","title":"Page"},"per_page":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Entries per page when `page` is used (1 to 200).","title":"Per Page"},"fields":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":"material_id,formula_pretty,bulk_modulus,shear_modulus,youngs_modulus,universal_anisotropy,homogeneous_poisson,debye_temperature","description":"Comma-separated names of the result fields to return.","title":"Fields"}},"title":"get_elastic_propertiesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_dielectric_properties":{"post":{"operationId":"get_dielectric_properties","summary":"Get computed dielectric properties of materials: total, ionic and electronic permittivity and refractive index. Use for ","description":"Get computed dielectric properties of materials: total, ionic and electronic permittivity and refractive index. Use for \"What is the refractive index and permittivity of mp-149\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"material_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated material IDs, for example 'mp-149'.","title":"Material Ids"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 200).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 1; the page size is `per_page`.","title":"Page"},"per_page":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Entries per page when `page` is used (1 to 200).","title":"Per Page"},"fields":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":"material_id,formula_pretty,e_total,e_ionic,e_electronic,n","description":"Comma-separated names of the result fields to return.","title":"Fields"}},"title":"get_dielectric_propertiesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_magnetic_properties":{"post":{"operationId":"get_magnetic_properties","summary":"Get computed magnetic properties of materials: magnetic ordering, total magnetization and magnetic species. Can filter b","description":"Get computed magnetic properties of materials: magnetic ordering, total magnetization and magnetic species. Can filter by ordering. Use for \"Which materials with ferromagnetic ordering does the database have, and what is their magnetization\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"material_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated material IDs, for example 'mp-19017'.","title":"Material Ids"},"ordering":{"anyOf":[{"enum":["FM","AFM","FiM","NM","Unknown"],"type":"string"},{"type":"null"}],"default":null,"description":"Magnetic ordering: FM (ferromagnetic), AFM, FiM (ferrimagnetic), NM (non-magnetic) or Unknown.","title":"Ordering"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 200).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 1; the page size is `per_page`.","title":"Page"},"per_page":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Entries per page when `page` is used (1 to 200).","title":"Per Page"},"fields":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":"material_id,formula_pretty,ordering,is_magnetic,total_magnetization,num_magnetic_sites,types_of_magnetic_species","description":"Comma-separated names of the result fields to return.","title":"Fields"}},"title":"get_magnetic_propertiesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_oxidation_states":{"post":{"operationId":"get_oxidation_states","summary":"Get predicted oxidation states of materials: possible charged species, per-site valences and average oxidation state per","description":"Get predicted oxidation states of materials: possible charged species, per-site valences and average oxidation state per element. Use for \"What oxidation states does the iron in mp-19017 have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"material_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated material IDs, for example 'mp-19017'.","title":"Material Ids"},"formula":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical formula, anonymous formula (for example 'ABC2') or a wildcard pattern such as 'Li*O'; comma-separate several.","title":"Formula"},"chemsys":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical system as dash-joined elements, for example 'Li-Fe-O'; comma-separate several systems.","title":"Chemsys"},"possible_species":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated species with charges the material must allow, for example 'Fe2+,O2-'.","title":"Possible Species"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 200).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 1; the page size is `per_page`.","title":"Page"},"per_page":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Entries per page when `page` is used (1 to 200).","title":"Per Page"},"fields":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":"material_id,formula_pretty,possible_species,possible_valences,average_oxidation_states,method","description":"Comma-separated names of the result fields to return.","title":"Fields"}},"title":"get_oxidation_statesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_electronic_structure":{"post":{"operationId":"get_electronic_structure","summary":"Get band structure summary values of materials: band gap, conduction and valence band edges, Fermi energy and whether th","description":"Get band structure summary values of materials: band gap, conduction and valence band edges, Fermi energy and whether the gap is direct or the material metallic. Use for \"Which materials with a direct band gap contain Ga and As\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"material_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated material IDs, for example 'mp-2534'.","title":"Material Ids"},"formula":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical formula, anonymous formula (for example 'ABC2') or a wildcard pattern such as 'Li*O'; comma-separate several.","title":"Formula"},"chemsys":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical system as dash-joined elements, for example 'Li-Fe-O'; comma-separate several systems.","title":"Chemsys"},"elements":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated element symbols the material must contain, for example 'Li,O'.","title":"Elements"},"exclude_elements":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated element symbols the material must not contain, for example 'Pb,Cd'.","title":"Exclude Elements"},"is_gap_direct":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only materials with a direct band gap.","title":"Is Gap Direct"},"is_metal":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for metals only, false for non-metals only.","title":"Is Metal"},"limit":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many results to return (1 to 200).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 1; the page size is `per_page`.","title":"Page"},"per_page":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Entries per page when `page` is used (1 to 200).","title":"Per Page"},"fields":{"anyOf":[{"maxLength":400,"type":"string"},{"type":"null"}],"default":"material_id,formula_pretty,band_gap,cbm,vbm,efermi,is_gap_direct,is_metal,magnetic_ordering","description":"Comma-separated names of the result fields to return.","title":"Fields"}},"title":"get_electronic_structureArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_structure_descriptions":{"post":{"operationId":"search_structure_descriptions","summary":"Search the plain-language crystal structure descriptions (generated from each structure) by keywords. Use for \"Find mate","description":"Search the plain-language crystal structure descriptions (generated from each structure) by keywords. Use for \"Find materials described as having corner-sharing octahedra\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"keywords":{"description":"Comma-separated keywords to look for in the description text, for example 'octahedra,perovskite'.","maxLength":200,"title":"Keywords","type":"string"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 100).","title":"Limit"},"skip":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Skip"}},"required":["keywords"],"title":"search_structure_descriptionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_synthesis_recipes":{"post":{"operationId":"search_synthesis_recipes","summary":"Search text-mined synthesis recipes from the literature by keywords, target formula or precursor formula. Returns the re","description":"Search text-mined synthesis recipes from the literature by keywords, target formula or precursor formula. Returns the reaction, synthesis type and source DOI. Use for \"How is LiFePO4 synthesised according to published recipes\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"keywords":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated keywords to search in the synthesis paragraph text, for example 'solid-state,calcined'.","title":"Keywords"},"target_formula":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical formula of the material being made, for example 'LiFePO4'.","title":"Target Formula"},"precursor_formula":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Chemical formula of a precursor used, for example 'Li2CO3'.","title":"Precursor Formula"},"limit":{"anyOf":[{"maximum":10,"minimum":1,"type":"integer"},{"type":"null"}],"default":5,"description":"How many results to return (1 to 10).","title":"Limit"},"skip":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Skip"}},"title":"search_synthesis_recipesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/autocomplete_formula":{"post":{"operationId":"autocomplete_formula","summary":"Complete a partial chemical formula into matching formulas known to the database. Use for \"Which formulas in the databas","description":"Complete a partial chemical formula into matching formulas known to the database. Use for \"Which formulas in the database start with LiFeP\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"formula":{"description":"Partial or full formula text, for example 'LiFeP'.","maxLength":60,"title":"Formula","type":"string"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Maximum number of matches (1 to 50).","title":"Limit"}},"required":["formula"],"title":"autocomplete_formulaArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}