@mcp-z/mcp-pdf
Preparing search index...
mcp
toolFactories
pdfResume
Function pdfResume
pdfResume
()
:
{
config
:
{
description
:
"Generate a professional resume PDF from JSON Resume format. Supports layout customization, date/locale formatting, styling, fonts, and automatic page breaks."
;
inputSchema
:
ZodObject
<
{
color
:
ZodOptional
<
ZodObject
<
{
background
:
ZodOptional
<
ZodString
>
;
hyperlink
:
ZodOptional
<
ZodString
>
;
}
,
$strip
,
>
,
>
;
filename
:
ZodOptional
<
ZodString
>
;
font
:
ZodOptional
<
ZodString
>
;
layout
:
ZodOptional
<
ZodObject
<
{
columns
:
ZodOptional
<
ZodObject
<
{
left
:
ZodOptional
<
(...)
>
;
right
:
ZodOptional
<
(...)
>
}
,
$strip
,
>
,
>
;
gap
:
ZodDefault
<
ZodOptional
<
ZodNumber
>
>
;
style
:
ZodDefault
<
ZodEnum
<
{
"single-column"
:
"single-column"
;
"two-column"
:
"two-column"
}
,
>
,
>
;
}
,
$strip
,
>
,
>
;
markdown
:
ZodOptional
<
ZodBoolean
>
;
pageSize
:
ZodOptional
<
ZodEnum
<
{
A4
:
"A4"
;
LEGAL
:
"LEGAL"
;
LETTER
:
"LETTER"
}
>
,
>
;
resume
:
ZodRecord
<
ZodString
,
ZodAny
>
;
sections
:
ZodOptional
<
ZodObject
<
{
fieldTemplates
:
ZodOptional
<
ZodObject
<
{
contactLine
:
ZodOptional
<
(...)
>
;
credential
:
ZodOptional
<
(...)
>
;
dateRange
:
ZodOptional
<
(...)
>
;
degree
:
ZodOptional
<
(...)
>
;
language
:
ZodOptional
<
(...)
>
;
location
:
ZodOptional
<
(...)
>
;
skill
:
ZodOptional
<
(...)
>
;
}
,
$strip
,
>
,
>
;
sections
:
ZodOptional
<
ZodArray
<
ZodUnion
<
readonly
[
(...)
,
(...)
]
>
>
>
;
}
,
$strip
,
>
,
>
;
styling
:
ZodOptional
<
ZodObject
<
{
alignment
:
ZodOptional
<
ZodObject
<
{
header
:
ZodOptional
<
(...)
>
}
,
$strip
>
,
>
;
fontSize
:
ZodOptional
<
ZodObject
<
{
body
:
ZodOptional
<
(...)
>
;
contact
:
ZodOptional
<
(...)
>
;
heading
:
ZodOptional
<
(...)
>
;
name
:
ZodOptional
<
(...)
>
;
subheading
:
ZodOptional
<
(...)
>
;
}
,
$strip
,
>
,
>
;
margins
:
ZodOptional
<
ZodObject
<
{
bottom
:
ZodOptional
<
(...)
>
;
left
:
ZodOptional
<
(...)
>
;
right
:
ZodOptional
<
(...)
>
;
top
:
ZodOptional
<
(...)
>
;
}
,
$strip
,
>
,
>
;
spacing
:
ZodOptional
<
ZodObject
<
{
afterHeading
:
ZodOptional
<
(...)
>
;
afterName
:
ZodOptional
<
(...)
>
;
afterSubheading
:
ZodOptional
<
(...)
>
;
afterText
:
ZodOptional
<
(...)
>
;
betweenSections
:
ZodOptional
<
(...)
>
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodObject
<
{
completedAt
:
ZodString
;
documentId
:
ZodString
;
filename
:
ZodString
;
itemsChanged
:
ZodNumber
;
itemsProcessed
:
ZodNumber
;
margins
:
ZodObject
<
{
bottom
:
ZodNumber
;
left
:
ZodNumber
;
right
:
ZodNumber
;
top
:
ZodNumber
;
}
,
$strip
,
>
;
operationSummary
:
ZodString
;
sizeBytes
:
ZodNumber
;
uri
:
ZodString
;
}
,
$strip
,
>
;
}
,
$strip
,
>
;
title
:
"Generate Resume PDF"
;
}
;
handler
:
(
args
:
{
color
?:
{
background
?:
string
;
hyperlink
?:
string
}
;
filename
?:
string
;
font
?:
string
;
layout
?:
{
columns
?:
{
left
?:
{
sections
:
string
[]
;
width
?:
string
|
number
}
;
right
?:
{
sections
:
string
[]
;
width
?:
string
|
number
}
;
}
;
gap
?:
number
;
style
?:
"single-column"
|
"two-column"
;
}
;
markdown
?:
boolean
;
pageSize
?:
"LETTER"
|
"A4"
|
"LEGAL"
;
resume
:
Record
<
string
,
any
>
;
sections
?:
{
fieldTemplates
?:
{
contactLine
?:
string
;
credential
?:
string
;
dateRange
?:
string
;
degree
?:
string
;
language
?:
string
;
location
?:
string
;
skill
?:
string
;
}
;
sections
?:
(
|
{
render
?:
|
"text"
|
"header"
|
"entry-list"
|
"keyword-list"
|
"language-list"
|
"credential-list"
|
"reference-list"
|
"summary-highlights"
;
showTenure
?:
boolean
;
source
:
string
;
template
?:
string
;
title
?:
string
;
}
|
{
color
?:
string
;
thickness
?:
number
;
type
:
"divider"
}
)
[]
;
}
;
styling
?:
{
alignment
?:
{
header
?:
"center"
|
"left"
|
"right"
}
;
fontSize
?:
{
body
?:
number
;
contact
?:
number
;
heading
?:
number
;
name
?:
number
;
subheading
?:
number
;
}
;
margins
?:
{
bottom
?:
number
;
left
?:
number
;
right
?:
number
;
top
?:
number
;
}
;
spacing
?:
{
afterHeading
?:
number
;
afterName
?:
number
;
afterSubheading
?:
number
;
afterText
?:
number
;
betweenSections
?:
number
;
}
;
}
;
}
,
extra
:
StorageExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Returns
{
config
:
{
description
:
"Generate a professional resume PDF from JSON Resume format. Supports layout customization, date/locale formatting, styling, fonts, and automatic page breaks."
;
inputSchema
:
ZodObject
<
{
color
:
ZodOptional
<
ZodObject
<
{
background
:
ZodOptional
<
ZodString
>
;
hyperlink
:
ZodOptional
<
ZodString
>
;
}
,
$strip
,
>
,
>
;
filename
:
ZodOptional
<
ZodString
>
;
font
:
ZodOptional
<
ZodString
>
;
layout
:
ZodOptional
<
ZodObject
<
{
columns
:
ZodOptional
<
ZodObject
<
{
left
:
ZodOptional
<
(...)
>
;
right
:
ZodOptional
<
(...)
>
}
,
$strip
,
>
,
>
;
gap
:
ZodDefault
<
ZodOptional
<
ZodNumber
>
>
;
style
:
ZodDefault
<
ZodEnum
<
{
"single-column"
:
"single-column"
;
"two-column"
:
"two-column"
}
,
>
,
>
;
}
,
$strip
,
>
,
>
;
markdown
:
ZodOptional
<
ZodBoolean
>
;
pageSize
:
ZodOptional
<
ZodEnum
<
{
A4
:
"A4"
;
LEGAL
:
"LEGAL"
;
LETTER
:
"LETTER"
}
>
,
>
;
resume
:
ZodRecord
<
ZodString
,
ZodAny
>
;
sections
:
ZodOptional
<
ZodObject
<
{
fieldTemplates
:
ZodOptional
<
ZodObject
<
{
contactLine
:
ZodOptional
<
(...)
>
;
credential
:
ZodOptional
<
(...)
>
;
dateRange
:
ZodOptional
<
(...)
>
;
degree
:
ZodOptional
<
(...)
>
;
language
:
ZodOptional
<
(...)
>
;
location
:
ZodOptional
<
(...)
>
;
skill
:
ZodOptional
<
(...)
>
;
}
,
$strip
,
>
,
>
;
sections
:
ZodOptional
<
ZodArray
<
ZodUnion
<
readonly
[
(...)
,
(...)
]
>
>
>
;
}
,
$strip
,
>
,
>
;
styling
:
ZodOptional
<
ZodObject
<
{
alignment
:
ZodOptional
<
ZodObject
<
{
header
:
ZodOptional
<
(...)
>
}
,
$strip
>
,
>
;
fontSize
:
ZodOptional
<
ZodObject
<
{
body
:
ZodOptional
<
(...)
>
;
contact
:
ZodOptional
<
(...)
>
;
heading
:
ZodOptional
<
(...)
>
;
name
:
ZodOptional
<
(...)
>
;
subheading
:
ZodOptional
<
(...)
>
;
}
,
$strip
,
>
,
>
;
margins
:
ZodOptional
<
ZodObject
<
{
bottom
:
ZodOptional
<
(...)
>
;
left
:
ZodOptional
<
(...)
>
;
right
:
ZodOptional
<
(...)
>
;
top
:
ZodOptional
<
(...)
>
;
}
,
$strip
,
>
,
>
;
spacing
:
ZodOptional
<
ZodObject
<
{
afterHeading
:
ZodOptional
<
(...)
>
;
afterName
:
ZodOptional
<
(...)
>
;
afterSubheading
:
ZodOptional
<
(...)
>
;
afterText
:
ZodOptional
<
(...)
>
;
betweenSections
:
ZodOptional
<
(...)
>
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
;
outputSchema
:
ZodObject
<
{
result
:
ZodObject
<
{
completedAt
:
ZodString
;
documentId
:
ZodString
;
filename
:
ZodString
;
itemsChanged
:
ZodNumber
;
itemsProcessed
:
ZodNumber
;
margins
:
ZodObject
<
{
bottom
:
ZodNumber
;
left
:
ZodNumber
;
right
:
ZodNumber
;
top
:
ZodNumber
;
}
,
$strip
,
>
;
operationSummary
:
ZodString
;
sizeBytes
:
ZodNumber
;
uri
:
ZodString
;
}
,
$strip
,
>
;
}
,
$strip
,
>
;
title
:
"Generate Resume PDF"
;
}
;
handler
:
(
args
:
{
color
?:
{
background
?:
string
;
hyperlink
?:
string
}
;
filename
?:
string
;
font
?:
string
;
layout
?:
{
columns
?:
{
left
?:
{
sections
:
string
[]
;
width
?:
string
|
number
}
;
right
?:
{
sections
:
string
[]
;
width
?:
string
|
number
}
;
}
;
gap
?:
number
;
style
?:
"single-column"
|
"two-column"
;
}
;
markdown
?:
boolean
;
pageSize
?:
"LETTER"
|
"A4"
|
"LEGAL"
;
resume
:
Record
<
string
,
any
>
;
sections
?:
{
fieldTemplates
?:
{
contactLine
?:
string
;
credential
?:
string
;
dateRange
?:
string
;
degree
?:
string
;
language
?:
string
;
location
?:
string
;
skill
?:
string
;
}
;
sections
?:
(
|
{
render
?:
|
"text"
|
"header"
|
"entry-list"
|
"keyword-list"
|
"language-list"
|
"credential-list"
|
"reference-list"
|
"summary-highlights"
;
showTenure
?:
boolean
;
source
:
string
;
template
?:
string
;
title
?:
string
;
}
|
{
color
?:
string
;
thickness
?:
number
;
type
:
"divider"
}
)
[]
;
}
;
styling
?:
{
alignment
?:
{
header
?:
"center"
|
"left"
|
"right"
}
;
fontSize
?:
{
body
?:
number
;
contact
?:
number
;
heading
?:
number
;
name
?:
number
;
subheading
?:
number
;
}
;
margins
?:
{
bottom
?:
number
;
left
?:
number
;
right
?:
number
;
top
?:
number
;
}
;
spacing
?:
{
afterHeading
?:
number
;
afterName
?:
number
;
afterSubheading
?:
number
;
afterText
?:
number
;
betweenSections
?:
number
;
}
;
}
;
}
,
extra
:
StorageExtra
,
)
=>
Promise
<
{
[
key
:
string
]:
unknown
}
>
;
name
:
string
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@mcp-z/mcp-pdf
Loading...