read_csv
Read CSV file contents and return data with metadata for analysis and processing. Supports optional row limits to manage data size.
Instructions
Read and return CSV file contents.
Args:
filename: Name of the CSV file to read
limit: Optional limit on number of rows to return
Returns:
Dictionary with file contents and metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filename | Yes | ||
limit | No |
Input Schema (JSON Schema)
{
"properties": {
"filename": {
"title": "Filename",
"type": "string"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
}
},
"required": [
"filename"
],
"type": "object"
}