validate_sequence
Validate a single protein FASTA record and get its normalized sequence, length, header, and SHA-256 identity before peptide generation or prediction; invalid input returns a structured error.
Instructions
Validate one protein FASTA record and return its normalized sequence, length, header, and SHA-256 identity. Use before peptide generation or prediction; this checks sequence syntax, not structure or biological activity. Invalid input returns a structured validation error.
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": {
"fasta": "<fasta>",
"profileVersion": "<profileVersion>"
},
"name": "validate_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fasta | Yes | One protein FASTA record with header and amino-acid sequence. | |
| profileVersion | Yes | Version of the sequence validation profile; mvp-v1.0 is the current profile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether execution completed successfully. | |
| data | No | Tool-specific result fields on success. | |
| meta | Yes | Run identifiers, timings, and input/output hashes. | |
| error | No | Structured failure on unsuccessful execution. |