Conversion Tools

Learn how to use Conversion Tools with Composio

Overview

Enum

CONVERSION_TOOLS

Description

Conversion Tools is an online service that offers a fast and easy way to convert documents between different formats, like XML, Excel, PDF, Word, Text, CSV, and others.

Authentication Details

bearer_token
stringRequired

Actions

Tool to convert jpg to structured json using ai. use after uploading the image or specifying its url.

Action Parameters

file_id
string
file_url
string

Action Response

data
object
error
string
successful
boolean
Tool to convert excel files to csv. use when you have an excel file (local upload or url) and need a csv output. use after uploading or providing file url.

Action Parameters

delimiter
stringDefaults to ,
file_id
string
file_url
string
quote_all
boolean
utf8_bom
boolean

Action Response

data
object
error
string
successful
boolean
Tool to convert an excel file to html. use when you need an html table representation of a .xlsx file via upload or url.

Action Parameters

file_url
string
input
stringRequired
options
object
upload
object

Action Response

data
object
error
string
successful
boolean
Tool to convert markdown to html. use after uploading the markdown file or specifying its url to generate html content.

Action Parameters

file_id
string
file_url
string

Action Response

data
object
error
string
successful
boolean
Tool to convert an oxps file to pdf. use when you have an oxps file either uploaded (file id) or via url and need a pdf output. provide only one of `file id` or `url`.

Action Parameters

file_id
string
url
string

Action Response

data
object
error
string
successful
boolean
Tool to convert a website url to pdf. use when you need a pdf snapshot of a web page; returns a task id to poll for completion.

Action Parameters

filename
string
pages
string
url
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to convert a website url to a png image. use when you need a snapshot of an entire web page or specific viewport.

Action Parameters

conversion
stringDefaults to website_to_png
options
object
url
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to convert word documents to plain text. use when you have a .doc or .docx file (binary or url) and need its plain text representation.

Action Parameters

file
string
file_url
string

Action Response

data
object
error
string
successful
boolean
Tool to download a conversion result file by its id. use after task completion to retrieve the output file.

Action Parameters

file_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to upload a file for conversion. use when you have a local file and need a file id for further conversion.

Action Parameters

file
stringRequired
filename
stringRequired

Action Response

data
object
error
string
successful
boolean