get_materials_with_elements
Identify materials containing specific elements while optionally excluding unwanted elements using the Materials Project database, returning up to a defined number of records for targeted research.
Instructions
Find materials containing specific elements.
Args:
elements: List of elements that must be present in the material (e.g., ["Fe", "O"]).
exclude_elements: Optional list of elements that must not be present.
max_records: Maximum number of records to return (default: 10).
Returns:
List of materials containing the specified elements.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
elements | Yes | ||
exclude_elements | No | ||
max_records | No |
Input Schema (JSON Schema)
{
"properties": {
"elements": {
"items": {
"type": "string"
},
"title": "Elements",
"type": "array"
},
"exclude_elements": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Exclude Elements"
},
"max_records": {
"default": 10,
"title": "Max Records",
"type": "integer"
}
},
"required": [
"elements"
],
"type": "object"
}