Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| find_readwise_documents_by_names | Find documents in Readwise by a list of names. Args:
document_names (List[str]): The names of the documents to search for in Readwise.
Returns:
Dict[str, Optional[Book]]: A dictionary where keys are the requested document names
and values are the corresponding Book objects if found, or None otherwise. |
| list_readwise_documents_by_filters | List all documents in Readwise based on either category or date range At least one filter must be provided. Args:
document_category (str, optional): The category of the documents to list in Readwise.
Allowed values are 'books', 'articles', 'tweets', 'podcasts', 'supplementals',
or simply empty string '' if no category is specified. Defaults to "".
duration_expression (Optional[str]): A duration expression to filter documents by creation date.
Valid formats: "1w", "2h", "30m", etc.
from_date (Optional[date]): The start date to filter documents (inclusive).
Documents created on or after this date will be returned.
to_date (Optional[date]): The end date to filter documents (inclusive).
Documents created on or before this date will be returned.
Returns:
List[Book]: A list of Book objects containing the documents from the specified category.
Raises:
ValueError: If no filters are provided (all parameters are None or empty). |
| get_readwise_highlights_by_document_ids | Get highlights from Readwise by document ids.
Args:
document_ids (List[int]): The IDs of the documents to retrieve highlights for.
Returns:
List[Highlight]: A list of Highlight objects containing the highlights from the specified document.
Raises:
ValueError: If no document IDs are provided. |
| get_readwise_highlights_by_filters | Get highlights from Readwise by filters.
This function retrieves highlights from Readwise based on date range and/or tags.
At least one filter (from_date, to_date, or tag_names) must be provided.
Args:
duration_expression (Optional[str]): A duration expression to filter highlights by creation date.
Valid formats: "1w", "2h", "30m", etc.
from_date (Optional[date]): The start date to filter highlights (inclusive).
Highlights created on or after this date will be returned.
to_date (Optional[date]): The end date to filter highlights (inclusive).
Highlights created on or before this date will be returned.
tag_names (List[str]): List of tag names to filter highlights by.
Only highlights with at least one of these tags will be returned.
Returns:
List[Highlight]: A list of Highlight objects matching the specified filters.
Raises:
ValueError: If no filters are provided (all parameters are None or empty). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |