analyze_ftir_spectrum
Identify unknown materials by matching FTIR spectra from peak lists, natural-language descriptions, or instrument files against a spectral library.
Instructions
Search the FTIR.fun spectral library for one unknown FTIR spectrum in one call.
Use when the user provides an FTIR peak list, a natural-language description containing peaks, or a base64-encoded FTIR instrument file and wants ranked material candidates. Do not use for general chemistry Q&A, non-FTIR spectra, or institutional report review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peaks | No | FTIR peak positions in cm-1. | |
| query | No | Natural-language FTIR request. Peak positions such as 1730, 1600, 1250 cm-1 can be extracted automatically. | |
| top_k | No | Number of ranked library candidates to return. | |
| filename | No | Original filename for FTIR format detection. | spectrum.0 |
| file_base64 | No | Optional base64-encoded FTIR spectrum file. | |
| tolerance_cm1 | No | Peak-only search tolerance in cm-1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||